mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03:00
mc: move dependency pruning from post to pre fixup
See: https://github.com/NixOS/nixpkgs/pull/105026#issuecomment-751163086
This commit is contained in:
parent
7c0db07752
commit
a7f0bf7916
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
|
|||||||
--replace /bin/rm ${coreutils}/bin/rm
|
--replace /bin/rm ${coreutils}/bin/rm
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
preFixup = ''
|
||||||
# remove unwanted build-dependency references
|
# 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
|
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
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user