From 425ab478ac99452dff6a71b16caa46ae06d5b550 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 4 Jul 2017 23:11:07 +0200 Subject: 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(-) (limited to 'gnu/packages') 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 -- cgit 1.4.1