mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: guile2.0-shepherd: Fix build.
* gnu/packages/admin.scm (guile2.0-shepherd)[native-inputs]: Add help2man. [arguments]: Add custom phase to patch out import of (ice-9 threads).
This commit is contained in:
parent
3c0f7dcbad
commit
dbd94d966a
1 changed files with 13 additions and 2 deletions
|
@ -309,10 +309,21 @@ (define-public guile2.0-shepherd
|
||||||
(inherit shepherd)
|
(inherit shepherd)
|
||||||
(name "guile2.0-shepherd")
|
(name "guile2.0-shepherd")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("help2man" ,help2man)
|
||||||
|
("pkg-config" ,pkg-config)
|
||||||
("guile" ,guile-2.0)))
|
("guile" ,guile-2.0)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("guile" ,guile-2.0)))))
|
`(("guile" ,guile-2.0)))
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-source
|
||||||
|
(lambda _
|
||||||
|
;; (ice-9 threads) isn't available in guile-2.0
|
||||||
|
(substitute* "modules/shepherd.scm"
|
||||||
|
((".*\\(ice-9 threads\\).*") ""))
|
||||||
|
#t)))
|
||||||
|
,@(package-arguments shepherd)))))
|
||||||
|
|
||||||
(define-public cloud-utils
|
(define-public cloud-utils
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue