mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue