gnu: guix: Apply courage for the Hurd.

* gnu/packages/package-management.scm (guix)[arguments]: When hurd-target? is
true, configure --with-courage.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-04-07 08:07:02 +02:00 committed by Jan Nieuwenhuizen
parent 38b9af7c92
commit 52b01cb700
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -57,6 +57,7 @@ (define-module (gnu packages package-management)
#:use-module (gnu packages gtk) #:use-module (gnu packages gtk)
#:use-module (gnu packages guile) #:use-module (gnu packages guile)
#:use-module (gnu packages guile-xyz) #:use-module (gnu packages guile-xyz)
#:use-module (gnu packages hurd)
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
#:use-module (gnu packages lisp) #:use-module (gnu packages lisp)
#:use-module (gnu packages man) #:use-module (gnu packages man)
@ -150,7 +151,8 @@ (define-public guix
;; To avoid problems with the length of shebangs, ;; To avoid problems with the length of shebangs,
;; choose a fixed-width and short directory name ;; choose a fixed-width and short directory name
;; for tests. ;; 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> #:parallel-tests? #f ;work around <http://bugs.gnu.org/21097>
#:modules ((guix build gnu-build-system) #:modules ((guix build gnu-build-system)