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

View file

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