stdenv: partial revert of f2bb59
/cc @Ericson2314
This line broke MacOS cross compilation. paxctl cannot be built on
macOS. Maybe it can be fixed, but no reason to break things
unnecessarily.
Regardless, you definitely need to be more careful about backporting.
I think it’s fine to move fast and break things on master but
with release-18.09 we should be more careful. Something like more
automated testing for cross compilation would also be
helpful (hopefully even making it block).
commit6eef893f5ca112101ce82a026c5239a36200d922
authorMatthew Bauer <mjbauer95@gmail.com>
dateWed 26 Sep 2018, 02:09 (8 years ago)
parent92a9c5a
pkgs/stdenv/cross/default.nix−3
@@ -53,9 +53,6 @@ in lib.init bootStages ++ [
5353 else buildPackages.gcc;
5454
5555 extraNativeBuildInputs = old.extraNativeBuildInputs
56− ++ lib.optionals
57− (hostPlatform.isLinux && !buildPlatform.isLinux)
58− [ buildPackages.patchelf buildPackages.paxctl ]
5956 ++ lib.optional
6057 (let f = p: !p.isx86 || p.libc == "musl"; in f hostPlatform && !(f buildPlatform))
6158 buildPackages.updateAutotoolsGnuConfigScriptsHook