on iko/ghcjs-patch-master help sign in
Apply binutils fix to only macOS (#315)
commitef4b453f8d4589cefbab750bcf551e338e8cba91 authorHamish Mackenzie <Hamish.Mackenzie@iohk.io> dateWed 13 Nov 2019, 21:57 (7 years ago) parent17bbb2b
1 file changed+2−1
overlays/release-19.03.nix+2−1
overlays/release-19.03.nix+2−1
@@ -2,7 +2,8 @@
22self: super: super.lib.optionalAttrs (super.lib.versions.majorMinor super.lib.version == "19.03") {
33 #11420 (unbreak gcc on darwin)
44 binutils-unwrapped = super.binutils-unwrapped.overrideAttrs (old: {
5− buildInputs = old.buildInputs ++ [ self.gettext ];
5+ buildInputs = old.buildInputs
6+ ++ self.lib.optional self.stdenv.isDarwin self.gettext;
67 });
78 #44172 TMPDIR=$NIX_BUILD_TOP is supposed to fix it, but doesn't.
89 nix = super.nix.overrideAttrs (oldAttrs: {