[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: ghc-6.6: Patch more references to /bin/sh.
From: |
guix-commits |
Subject: |
01/02: gnu: ghc-6.6: Patch more references to /bin/sh. |
Date: |
Mon, 31 Oct 2022 14:54:01 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 26e1f3ec9a19d1d81b6d2f7470084c59cbf091ca
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Oct 30 10:30:20 2022 +0100
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.
---
gnu/packages/haskell.scm | 7 +++++--
1 file 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 "\"")))