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

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
'';