summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-05-14 22:43:20 +0200
committerLudovic Courtès <ludo@gnu.org>2020-05-15 00:01:39 +0200
commitbbd9c9c901d733d0bcba74e7c53d42c251adc9ff (patch)
tree7a4107a2c3d964bac7b682be9a17f6778487d36f /gnu/packages
parent27ced656564b91ab2f972ab1543635a20df731fc (diff)
downloadguix-bbd9c9c901d733d0bcba74e7c53d42c251adc9ff.tar.gz
gnu: mcron: Allow cross-compilation.
* gnu/packages/guile-xyz.scm (mcron)[native-inputs]: Add "guile-native".
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/guile-xyz.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 22b2ffac6d..d7f52b08f4 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -2311,7 +2311,9 @@ is no support for parsing block and inline level HTML.")
                          (string-append "(test-skip 4)\n" all)))
                       #t)))))
     (native-inputs `(("pkg-config" ,pkg-config)
-                     ("tzdata" ,tzdata-for-tests)))
+                     ("tzdata" ,tzdata-for-tests)
+                     ("guile-native"              ;for 'guild compile'
+                      ,@(assoc-ref (package-inputs this-package) "guile"))))
     (inputs `(("guile" ,guile-3.0)))
     (home-page "https://www.gnu.org/software/mcron/")
     (synopsis "Run jobs at scheduled times")