mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: ghc-process: Replace reference to /bin/sh.
* gnu/packages/haskell.scm (ghc-process)[arguments]: Add phases "patch-reference-to-/bin/sh" to replace reference to /bin/sh.
This commit is contained in:
parent
2d47cee25b
commit
d79e8f65b5
1 changed files with 9 additions and 0 deletions
|
@ -6918,6 +6918,7 @@ (define-public ghc-directory
|
||||||
files and directories in a portable way.")
|
files and directories in a portable way.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
;; Do not use this as an input. It is part of GHC.
|
||||||
(define-public ghc-process
|
(define-public ghc-process
|
||||||
(package
|
(package
|
||||||
(name "ghc-process")
|
(name "ghc-process")
|
||||||
|
@ -6932,6 +6933,14 @@ (define-public ghc-process
|
||||||
(base32
|
(base32
|
||||||
"1v1bav5isqxq9fc4lw714x94qbfsjbm2nn12kjp69r1ql8jaaaqw"))))
|
"1v1bav5isqxq9fc4lw714x94qbfsjbm2nn12kjp69r1ql8jaaaqw"))))
|
||||||
(build-system haskell-build-system)
|
(build-system haskell-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-reference-to-/bin/sh
|
||||||
|
(lambda _
|
||||||
|
(substitute* "System/Process/Posix.hs"
|
||||||
|
(("/bin/sh") (which "sh")))
|
||||||
|
#t)))))
|
||||||
(home-page "http://hackage.haskell.org/package/process")
|
(home-page "http://hackage.haskell.org/package/process")
|
||||||
(synopsis "System process libraries")
|
(synopsis "System process libraries")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue