aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-07-04 23:11:07 +0200
committerLudovic Courtès <ludo@gnu.org>2017-07-04 23:45:12 +0200
commit425ab478ac99452dff6a71b16caa46ae06d5b550 (patch)
treeea05c26436415c554663bc7ed13ffb82b7558755
parentba4aca3ae48dcaf904297573fc210ff4a4d771e3 (diff)
downloadpatches-425ab478ac99452dff6a71b16caa46ae06d5b550.tar
patches-425ab478ac99452dff6a71b16caa46ae06d5b550.tar.gz
gnu: shepherd: Allow cross-compilation.
* gnu/packages/admin.scm (shepherd)[native-inputs]: Add GUILE-2.0.
-rw-r--r--gnu/packages/admin.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index ef95fe2cb2..f056cc51c6 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -163,8 +163,14 @@ and provides a \"top-like\" mode (monitoring).")
(build-system gnu-build-system)
(arguments
'(#:configure-flags '("--localstatedir=/var")))
- (native-inputs `(("pkg-config" ,pkg-config)))
- (inputs `(("guile" ,guile-2.0)))
+ (native-inputs
+ `(("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")
(description
"The GNU Shepherd is a daemon-managing daemon, meaning that it supervises