mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
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:
parent
f0d6d83552
commit
4788deea0b
1 changed files with 6 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue