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:
parent
49fc5f0044
commit
2fe842a200
@ -65,6 +65,7 @@ stdenv.mkDerivation rec {
|
|||||||
# Some scripts used during the build need to have their shebangs patched
|
# Some scripts used during the build need to have their shebangs patched
|
||||||
''
|
''
|
||||||
patchShebangs ghc-${version}/utils/
|
patchShebangs ghc-${version}/utils/
|
||||||
|
patchShebangs ghc-${version}/configure
|
||||||
'' +
|
'' +
|
||||||
|
|
||||||
# Strip is harmful, see also below. It's important that this happens
|
# Strip is harmful, see also below. It's important that this happens
|
||||||
|
Loading…
x
Reference in New Issue
Block a user