mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10:33 +02:00
manifest.scm: Handle unsupported packages gracefully.
Previously, 'guix shell' on a powerpc64le machine for example would fail with: error: package codeberg-cli@0.5.0 does not support powerpc64le-linux * manifest.scm: Filter out unsupported packages. Change-Id: Ib47b80a4ba4ffa99a0834ef45493fe70ceb1d534
This commit is contained in:
@@ -44,10 +44,12 @@
|
|||||||
"perl"))
|
"perl"))
|
||||||
|
|
||||||
;; Useful extras for patches submission.
|
;; Useful extras for patches submission.
|
||||||
(specifications->manifest
|
(packages->manifest
|
||||||
|
(filter supported-package? ;rust is not yet available everywhere
|
||||||
|
(map specification->package
|
||||||
(list "codeberg-cli"
|
(list "codeberg-cli"
|
||||||
"git"
|
"git"
|
||||||
"nss-certs"))
|
"nss-certs"))))
|
||||||
;; For installer
|
;; For installer
|
||||||
(specifications->manifest
|
(specifications->manifest
|
||||||
(list "guile-newt"
|
(list "guile-newt"
|
||||||
|
|||||||
Reference in New Issue
Block a user