[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: shepherd: Allow cross-compilation.
From: |
Ludovic Courtès |
Subject: |
03/03: gnu: shepherd: Allow cross-compilation. |
Date: |
Tue, 4 Jul 2017 17:45:19 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 425ab478ac99452dff6a71b16caa46ae06d5b550
Author: Ludovic Courtès <address@hidden>
Date: Tue Jul 4 23:11:07 2017 +0200
gnu: shepherd: Allow cross-compilation.
* gnu/packages/admin.scm (shepherd)[native-inputs]: Add GUILE-2.0.
---
gnu/packages/admin.scm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index ef95fe2..f056cc5 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