haskell.compiler.ghc*Binary: add missing #! patch

inplace/bin/mkdirhier needs #!/bin/sh patched
This commit is contained in:
Dylan Simon 2023-12-18 12:54:46 -05:00 committed by sternenseemann
parent 3d36e72396
commit 1d204f9758
4 changed files with 8 additions and 0 deletions

View File

@ -252,6 +252,8 @@ stdenv.mkDerivation rec {
''
patchShebangs ghc-${version}/utils/
patchShebangs ghc-${version}/configure
test -d ghc-${version}/inplace/bin && \
patchShebangs ghc-${version}/inplace/bin
'' +
# We have to patch the GMP paths for the integer-gmp package.
# Note [musl bindists have no .buildinfo]

View File

@ -250,6 +250,8 @@ stdenv.mkDerivation rec {
''
patchShebangs ghc-${version}/utils/
patchShebangs ghc-${version}/configure
test -d ghc-${version}/inplace/bin && \
patchShebangs ghc-${version}/inplace/bin
'' +
# We have to patch the GMP paths for the integer-gmp package.
# Note that musl bindists do not contain them,

View File

@ -102,6 +102,8 @@ stdenv.mkDerivation rec {
''
patchShebangs ghc-${version}/utils/
patchShebangs ghc-${version}/configure
test -d ghc-${version}/inplace/bin && \
patchShebangs ghc-${version}/inplace/bin
'' +
# We have to patch the GMP paths for the integer-gmp package.

View File

@ -236,6 +236,8 @@ stdenv.mkDerivation rec {
''
patchShebangs ghc-${version}/utils/
patchShebangs ghc-${version}/configure
test -d ghc-${version}/inplace/bin && \
patchShebangs ghc-${version}/inplace/bin
'' +
# We have to patch the GMP paths for the integer-gmp package.
''