Set strictDeps = true (#706)
This will prevent LD_FLAGS from leaking in. And potentially breaking cross compilation from macOS -> linux, when LD_FLAGS contains -framework items.
commitdfeabf991f827480e9149487b266080e7d68b4fe
authorMoritz Angermann <moritz.angermann@gmail.com>
dateFri 19 Jun 2020, 20:50 (6 years ago)
parent1383a63
compiler/ghc/default.nix+2
@@ -139,6 +139,8 @@ in let configured-src = stdenv.mkDerivation (rec {
139139
140140 name = "${targetPrefix}ghc-${ghc-version}-configured-src";
141141
142+ # Make sure we never relax`$PATH` and hooks support for compatability.
143+ strictDeps = true;
142144
143145 nativeBuildInputs = [
144146 perl autoconf automake m4 python3 sphinx