nongnu: compcert: Fix a non-exhaustive match.

* nongnu/packages/coq.scm (compcert)[arguments]: Add default case to match so
that it can be evaluated on all systems.
[supported-systems]: Remove unsupported mips64el-linux.
This commit is contained in:
Timotej Lazar 2020-04-11 13:16:59 +02:00
parent 22450afd70
commit 1892d626dd

View file

@ -43,9 +43,9 @@
(replace 'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((system ,(match (or (%current-target-system) (%current-system)) (let ((system ,(match (or (%current-target-system) (%current-system))
("x86_64-linux" "x86_64-linux") ("armhf-linux" "arm-linux")
("i686-linux" "x86_32-linux") ("i686-linux" "x86_32-linux")
("armhf-linux" "arm-linux")))) (s s))))
(format #t "Building for ~a~%" system) (format #t "Building for ~a~%" system)
(invoke "./configure" system "-prefix" (invoke "./configure" system "-prefix"
(assoc-ref outputs "out"))) (assoc-ref outputs "out")))
@ -62,6 +62,8 @@
(find-files "." ".*.vo$")) (find-files "." ".*.vo$"))
#t))) #t)))
#:tests? #f)) #:tests? #f))
;; MIPS is not supported.
(supported-systems (delete "mips64el-linux" %supported-systems))
(native-inputs (native-inputs
`(("ocaml" ,ocaml) `(("ocaml" ,ocaml)
("ocaml-findlib" ,ocaml-findlib); for menhir --suggest-menhirlib ("ocaml-findlib" ,ocaml-findlib); for menhir --suggest-menhirlib