Merge pull request #110639 from bobrik/ivan/mc-prefixup

mc: move dependency pruning from post to pre fixup
This commit is contained in:
Sandro 2021-01-24 01:21:55 +01:00 committed by GitHub
commit 212bc4ecbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
--replace /bin/rm ${coreutils}/bin/rm
'';
postFixup = ''
preFixup = ''
# remove unwanted build-dependency references
sed -i -e "s!PKG_CONFIG_PATH=''${PKG_CONFIG_PATH}!PKG_CONFIG_PATH=$(echo "$PKG_CONFIG_PATH" | sed -e 's/./0/g')!" $out/bin/mc
'';