summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-04-21 22:42:40 -0400
committerMark H Weaver <mhw@netris.org>2015-04-22 15:08:45 -0400
commit446c7e4de339f8b6ad950afa58f000220d80a5f4 (patch)
treec4381051e85c16809ea87071d16ccf135154eddc
parentf210f057a7eb3ce20a969858a26b247fb2a52247 (diff)
downloadguix-446c7e4de339f8b6ad950afa58f000220d80a5f4.tar.gz
gnu: julia: Fix make-flags on non-Intel platforms.
* gnu/packages/julia.scm (julia)[arguments]: Add default case in 'match' form.
-rw-r--r--gnu/packages/julia.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
index e5990441f5..c9428c4f12 100644
--- a/gnu/packages/julia.scm
+++ b/gnu/packages/julia.scm
@@ -118,7 +118,10 @@
         ,(match (or (%current-target-system)
                     (%current-system))
            ("x86_64-linux" "MARCH=x86-64")
-           ("i686-linux" "MARCH=pentium4"))
+           ("i686-linux" "MARCH=pentium4")
+           ;; Prevent errors when querying this package on unsupported
+           ;; platforms, e.g. when running "guix package --search="
+           (_ "MARCH=UNSUPPORTED"))
 
         "CONFIG_SHELL=bash"     ;needed to build bundled libraries
         "USE_SYSTEM_LIBUV=0"    ;Julia expects a modified libuv