From 446c7e4de339f8b6ad950afa58f000220d80a5f4 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Tue, 21 Apr 2015 22:42:40 -0400 Subject: [PATCH] gnu: julia: Fix make-flags on non-Intel platforms. * gnu/packages/julia.scm (julia)[arguments]: Add default case in 'match' form. --- gnu/packages/julia.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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