gnu: ghc-6.6: Patch more references to /bin/sh.

* gnu/packages/haskell.scm (ghc-6.6)[arguments]: Patch references to /bin/sh
in Cabal and process internals.
This commit is contained in:
Ricardo Wurmus 2022-10-30 10:30:20 +01:00
parent eaaba9d62c
commit 26e1f3ec9a
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -538,9 +538,12 @@ (define-public ghc-6.6
(("^SHELL.*=.*/bin/sh") (string-append "SHELL = " bash)))
(substitute* "aclocal.m4"
(("SHELL=/bin/sh") (string-append "SHELL=" bash)))
(substitute* '"compiler/Makefile"
(substitute* "compiler/Makefile"
(("#!/bin/sh") (string-append "#!" bash)))
(substitute* "libraries/base/cbits/execvpe.c"
(substitute* '("libraries/base/cbits/execvpe.c"
"libraries/Cabal/Distribution/attic"
"libraries/Cabal/Distribution/Simple/Register.hs"
"libraries/base/System/Process/Internals.hs")
(("/bin/sh") bash)
(("\"sh\"") (string-append "\"" bash "\"")))