aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/hurd.scm
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2024-12-03 15:49:40 +0100
committerJanneke Nieuwenhuizen <janneke@gnu.org>2024-12-03 15:51:05 +0100
commit32d1dfb5545bb01c9d8d7a2465f13f2f379dd96e (patch)
treeb6640e95f9c531d4ea4cc8c92f927a530d2bf29e /gnu/packages/hurd.scm
parent6d34e751b545120fd4455cb6d718d02c9188d874 (diff)
downloadguix-32d1dfb5545bb01c9d8d7a2465f13f2f379dd96e.tar
guix-32d1dfb5545bb01c9d8d7a2465f13f2f379dd96e.tar.gz
gnu: hurd: Add default case.
This fixes evaluation of ‘master’, which was failing with a ‘match’ error. * gnu/packages/hurd.scm (hurd)[arguments]: Add default case. Change-Id: Icf5f01481cd102036cb2b7d4dbaf9f326cdb152a
Diffstat (limited to 'gnu/packages/hurd.scm')
-rw-r--r--gnu/packages/hurd.scm12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index e0369a7af3..4342686517 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -475,7 +475,11 @@ exec ${system}/rc \"$@\"
((? target-x86-32?)
"x86")
((? target-x86-64?)
- "amd64"))))
+ "amd64")
+ (_
+ ;; XXX: Cross-compiling this package to an
+ ;; unsupported system.
+ "UNSUPPORTED_SYSTEM"))))
(when ,(target-hurd64?)
(let ((dir "libdde_linux26/build/include"))
(mkdir-p (string-append dir "/x86"))
@@ -513,7 +517,11 @@ exec ${system}/rc \"$@\"
((? target-x86-32?)
"x86")
((? target-x86-64?)
- "amd64")))
+ "amd64")
+ (_
+ ;; XXX: Cross-compiling this package to an
+ ;; unsupported system.
+ "UNSUPPORTED_SYSTEM")))
(dir (string-append out "/share/libdde_linux26/build/include")))
(mkdir-p dir)
(when ,(target-hurd64?)