guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: gnu: nginx: Fix configure flags on unsupported platforms.


From: Mark H. Weaver
Subject: 03/04: gnu: nginx: Fix configure flags on unsupported platforms.
Date: Wed, 22 Apr 2015 19:10:07 +0000

mhw pushed a commit to branch master
in repository guix.

commit 4788deea0b029dedc8657a5175e89bc8eab3f27b
Author: Mark H Weaver <address@hidden>
Date:   Tue Apr 21 23:12:04 2015 -0400

    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 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 0c22562..519a91e 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -132,7 +132,12 @@ and its related documentation.")
                                                      (%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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]