gnu: ccl: Fix inputs on non-Intel platforms.

* gnu/packages/lisp.scm (ccl)[inputs]: Add default cases in 'match' forms.
  Fix pattern in "armhf-linux" case of sha256 field.
This commit is contained in:
Mark H Weaver 2015-04-19 09:55:01 -04:00
parent 5dc3ce5f6c
commit 42f118010b
1 changed files with 7 additions and 3 deletions

View File

@ -309,15 +309,19 @@ statistical profiler, a code coverage tool, and many other extensions.")
"ftp://ftp.clozure.com/pub/release/1.10/ccl-" version "-" "ftp://ftp.clozure.com/pub/release/1.10/ccl-" version "-"
(match (%current-system) (match (%current-system)
((or "i686-linux" "x86_64-linux") "linuxx86") ((or "i686-linux" "x86_64-linux") "linuxx86")
("armhf-linux" "linuxarm")) ("armhf-linux" "linuxarm")
;; Prevent errors when querying this package on unsupported
;; platforms, e.g. when running "guix package --search="
(_ "UNSUPPORTED"))
".tar.gz")) ".tar.gz"))
(sha256 (sha256
(base32 (base32
(match (%current-system) (match (%current-system)
((or "i686-linux" "x86_64-linux") ((or "i686-linux" "x86_64-linux")
"0mr653q5px05lr11z2mk551m5g47b4wq96vbfibpp0qlc9jp58lc") "0mr653q5px05lr11z2mk551m5g47b4wq96vbfibpp0qlc9jp58lc")
("armhf" ("armhf-linux"
"1py02irpmi2qz5rq3h33wfv6impf15z8i2rign6hvhlqn7s99wwh")))))))) "1py02irpmi2qz5rq3h33wfv6impf15z8i2rign6hvhlqn7s99wwh")
(_ ""))))))))
(native-inputs (native-inputs
`(("m4" ,m4) `(("m4" ,m4)
("subversion" ,subversion))) ("subversion" ,subversion)))