summary refs log tree commit diff
diff options
context:
space:
mode:
authorJan (janneke) Nieuwenhuizen <janneke@gnu.org>2020-04-07 08:07:02 +0200
committerJan Nieuwenhuizen <janneke@gnu.org>2020-05-01 08:35:43 +0200
commit52b01cb7007b793c5b21456ac8cdd9f9df5b8b16 (patch)
treed4f2c6f84522491766fb76fe1eebb6980b766b5d
parent38b9af7c92344a17b6680ebd2aeea14171f84a1c (diff)
downloadguix-52b01cb7007b793c5b21456ac8cdd9f9df5b8b16.tar.gz
gnu: guix: Apply courage for the Hurd.
* gnu/packages/package-management.scm (guix)[arguments]: When hurd-target? is
true, configure --with-courage.
-rw-r--r--gnu/packages/package-management.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 3360a3b21b..558e15a769 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -57,6 +57,7 @@
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages guile-xyz)
+  #:use-module (gnu packages hurd)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages lisp)
   #:use-module (gnu packages man)
@@ -150,7 +151,8 @@
                             ;; To avoid problems with the length of shebangs,
                             ;; choose a fixed-width and short directory name
                             ;; for tests.
-                            "ac_cv_guix_test_root=/tmp/guix-tests")
+                            "ac_cv_guix_test_root=/tmp/guix-tests"
+                            ,@(if (hurd-target?) '("--with-courage") '()))
          #:parallel-tests? #f         ;work around <http://bugs.gnu.org/21097>
 
          #:modules ((guix build gnu-build-system)