mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: ghc: Patch runtime references to /bin/sh.
* gnu/packages/haskell.scm (ghc)[arguments]: Rename 'unpack-and-fix-testsuite' phase to 'unpack-testsuite-and-fix-bins'. Patch source files that reference /bin/sh.
This commit is contained in:
parent
6508ce55e9
commit
48d21d6cd6
1 changed files with 4 additions and 2 deletions
|
@ -144,7 +144,7 @@ (define-public ghc
|
|||
(ghc-bootstrap-prefix
|
||||
(string-append ghc-bootstrap-path "/usr" )))
|
||||
(alist-cons-after
|
||||
'unpack-bin 'unpack-and-fix-testsuite
|
||||
'unpack-bin 'unpack-testsuite-and-fix-bins
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(with-directory-excursion ".."
|
||||
(copy-file (assoc-ref inputs "ghc-testsuite")
|
||||
|
@ -155,7 +155,9 @@ (define-public ghc
|
|||
"testsuite/timeout/timeout.py"
|
||||
"testsuite/timeout/timeout.hs"
|
||||
"testsuite/tests/rename/prog006/Setup.lhs"
|
||||
"testsuite/tests/programs/life_space_leak/life.test")
|
||||
"testsuite/tests/programs/life_space_leak/life.test"
|
||||
"libraries/process/System/Process/Internals.hs"
|
||||
"libraries/unix/cbits/execvpe.c")
|
||||
(("/bin/sh") (which "sh"))
|
||||
(("/bin/rm") "rm"))
|
||||
#t)
|
||||
|
|
Loading…
Reference in a new issue