From a7f0bf791608cd5674adf69fe4ea35f42b9a96fc Mon Sep 17 00:00:00 2001 From: Ivan Babrou Date: Sat, 23 Jan 2021 14:19:29 -0800 Subject: [PATCH] mc: move dependency pruning from post to pre fixup See: https://github.com/NixOS/nixpkgs/pull/105026#issuecomment-751163086 --- pkgs/tools/misc/mc/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/misc/mc/default.nix b/pkgs/tools/misc/mc/default.nix index 674b39c51af8..99944c7f8247 100644 --- a/pkgs/tools/misc/mc/default.nix +++ b/pkgs/tools/misc/mc/default.nix @@ -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 '';