From 4788deea0b029dedc8657a5175e89bc8eab3f27b Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Tue, 21 Apr 2015 23:12:04 -0400 Subject: gnu: nginx: Fix configure flags on unsupported platforms. * gnu/packages/web.scm (nginx)[arguments]: Add default case in 'match' form within 'configure' phase. --- gnu/packages/web.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 0c22562aa6..519a91e160 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -132,7 +132,12 @@ (define-public nginx (%current-system)) ("x86_64-linux" "x86_64") ("i686-linux" "i686") - ("mips64el-linux" "mips64")))) + ("mips64el-linux" "mips64") + ;; Prevent errors when querying + ;; this package on unsupported + ;; platforms, e.g. when running + ;; "guix package --search=" + (_ "UNSUPPORTED")))) (string-append "--crossbuild=" system ":" release ":" machine))))) (setenv "CC" "gcc") -- cgit v1.2.3