gnu: nginx: Fix configure flags on unsupported platforms.

* gnu/packages/web.scm (nginx)[arguments]: Add default case in 'match' form
  within 'configure' phase.
This commit is contained in:
Mark H Weaver 2015-04-21 23:12:04 -04:00
parent f0d6d83552
commit 4788deea0b
1 changed files with 6 additions and 1 deletions

View File

@ -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")