gnu: shepherd: Allow cross-compilation.

* gnu/packages/admin.scm (shepherd)[native-inputs]: Add GUILE-2.0.
This commit is contained in:
Ludovic Courtès 2017-07-04 23:11:07 +02:00
parent ba4aca3ae4
commit 425ab478ac
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -163,8 +163,14 @@ (define-public shepherd
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:configure-flags '("--localstatedir=/var"))) '(#:configure-flags '("--localstatedir=/var")))
(native-inputs `(("pkg-config" ,pkg-config))) (native-inputs
(inputs `(("guile" ,guile-2.0))) `(("pkg-config" ,pkg-config)
;; This is the Guile we use as a cross-compiler...
("guile" ,guile-2.0)))
(inputs
;; ... and this is the one that appears in shebangs when cross-compiling.
`(("guile" ,guile-2.0)))
(synopsis "System service manager") (synopsis "System service manager")
(description (description
"The GNU Shepherd is a daemon-managing daemon, meaning that it supervises "The GNU Shepherd is a daemon-managing daemon, meaning that it supervises