3
0
Fork 0
forked from mirrors/nixpkgs

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.
This commit is contained in:
Jack Cummings 2018-05-17 10:36:56 -07:00 committed by Peter Simons
parent 49fc5f0044
commit 2fe842a200

View file

@ -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