gnu: bootstrap: Add missing 'supported-systems', remove extra 'match'.

Previously evaluation would fail for armhf, aarch64, and mips64el.

* gnu/packages/bootstrap.scm (%bootstrap-mescc-tools)[supported-systems]:
New field.
(%bootstrap-mes)[supported-systems]: New field.
[inputs]: Remove 'match' form on %current-system, which would fail on
non-Intel platforms.
This commit is contained in:
Ludovic Courtès 2018-12-25 02:16:25 +01:00
parent dad2e7dc79
commit 0b07f22728
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -659,6 +659,7 @@ (define %bootstrap-mescc-tools
(synopsis "Bootstrap binaries of MesCC Tools")
(description synopsis)
(home-page #f)
(supported-systems '("i686-linux" "x86_64-linux"))
(license gpl3+)))
(define %bootstrap-mes
@ -702,10 +703,9 @@ (define %bootstrap-mes
"mes-minimal-stripped-0.19-i686-linux.tar.xz")
%bootstrap-base-urls))
(sha256
(match (%current-system)
((or "i686-linux" "x86_64-linux")
(base32
"0k7kkl68a6xaadv47ij0nr9jm5ca1ffj38n7f2lg80y72wdkwr9h")))))))))
(base32
"0k7kkl68a6xaadv47ij0nr9jm5ca1ffj38n7f2lg80y72wdkwr9h")))))))
(supported-systems '("i686-linux" "x86_64-linux"))
(synopsis "Bootstrap binaries of Mes")
(description synopsis)
(home-page #f)