Revert "stdenv: partial revert of f2bb59e"

This reverts commit 607063f61b.
This commit is contained in:
John Ericson 2018-09-26 11:26:27 -04:00
parent 115bc86e6c
commit 361521f5b0

View File

@ -53,6 +53,9 @@ in lib.init bootStages ++ [
else buildPackages.gcc;
extraNativeBuildInputs = old.extraNativeBuildInputs
++ lib.optionals
(hostPlatform.isLinux && !buildPlatform.isLinux)
[ buildPackages.patchelf buildPackages.paxctl ]
++ lib.optional
(let f = p: !p.isx86 || p.libc == "musl"; in f hostPlatform && !(f buildPlatform))
buildPackages.updateAutotoolsGnuConfigScriptsHook