aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/haskell.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-10-30 10:30:20 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-10-31 19:51:36 +0100
commit26e1f3ec9a19d1d81b6d2f7470084c59cbf091ca (patch)
tree73d0cc0375b89634ceddb82bc8b496525349e2c6 /gnu/packages/haskell.scm
parenteaaba9d62c611ff8eea03ac8f30d9d79cf7da3da (diff)
downloadguix-26e1f3ec9a19d1d81b6d2f7470084c59cbf091ca.tar
guix-26e1f3ec9a19d1d81b6d2f7470084c59cbf091ca.tar.gz
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.
Diffstat (limited to 'gnu/packages/haskell.scm')
-rw-r--r--gnu/packages/haskell.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index c6efdadfac..c1c6fd740b 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -538,9 +538,12 @@ interactive environment for the functional language Haskell.")
(("^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 "\"")))