diff options
author | Jack Cummings <jack@mudshark.org> | 2018-05-17 10:36:56 -0700 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2018-05-19 22:24:31 +0200 |
commit | 2fe842a20001aa2b02325b0f78a2be5f6bd88d90 (patch) | |
tree | ac106435b6b79b77772ba2de219c56b82599479c /pkgs/development/compilers/ghc | |
parent | 49fc5f004495a89e6b089fd6fa4dc566c7051530 (diff) | |
download | nixlib-2fe842a20001aa2b02325b0f78a2be5f6bd88d90.tar nixlib-2fe842a20001aa2b02325b0f78a2be5f6bd88d90.tar.gz nixlib-2fe842a20001aa2b02325b0f78a2be5f6bd88d90.tar.bz2 nixlib-2fe842a20001aa2b02325b0f78a2be5f6bd88d90.tar.lz nixlib-2fe842a20001aa2b02325b0f78a2be5f6bd88d90.tar.xz nixlib-2fe842a20001aa2b02325b0f78a2be5f6bd88d90.tar.zst nixlib-2fe842a20001aa2b02325b0f78a2be5f6bd88d90.zip |
fix ghc bootstrap on non-nixos nonstd-storepath
Something goes amiss in the configurePhase and binaries start picking up system binaries and everything falls apart. Patch the configure script to use a bourne shell out of the store, and things are happier. Closes https://github.com/NixOS/nixpkgs/pull/40691.
Diffstat (limited to 'pkgs/development/compilers/ghc')
-rw-r--r-- | pkgs/development/compilers/ghc/7.10.3-binary.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghc/7.10.3-binary.nix b/pkgs/development/compilers/ghc/7.10.3-binary.nix index cb9f78aa0813..48e2ca0a585c 100644 --- a/pkgs/development/compilers/ghc/7.10.3-binary.nix +++ b/pkgs/development/compilers/ghc/7.10.3-binary.nix @@ -65,6 +65,7 @@ stdenv.mkDerivation rec { # Some scripts used during the build need to have their shebangs patched '' patchShebangs ghc-${version}/utils/ + patchShebangs ghc-${version}/configure '' + # Strip is harmful, see also below. It's important that this happens |