From 26e1f3ec9a19d1d81b6d2f7470084c59cbf091ca Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 30 Oct 2022 10:30:20 +0100 Subject: 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 "\""))) -- cgit v1.2.3