mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20: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:
10
manifest.scm
10
manifest.scm
@@ -44,10 +44,12 @@
|
||||
"perl"))
|
||||
|
||||
;; Useful extras for patches submission.
|
||||
(specifications->manifest
|
||||
(list "codeberg-cli"
|
||||
"git"
|
||||
"nss-certs"))
|
||||
(packages->manifest
|
||||
(filter supported-package? ;rust is not yet available everywhere
|
||||
(map specification->package
|
||||
(list "codeberg-cli"
|
||||
"git"
|
||||
"nss-certs"))))
|
||||
;; For installer
|
||||
(specifications->manifest
|
||||
(list "guile-newt"
|
||||
|
||||
Reference in New Issue
Block a user