1
0
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:
Maxim Cournoyer
2026-02-18 17:26:28 +09:00
parent eaae33bcbb
commit e66be1b663

View File

@@ -44,10 +44,12 @@
"perl"))
;; Useful extras for patches submission.
(specifications->manifest
(packages->manifest
(filter supported-package? ;rust is not yet available everywhere
(map specification->package
(list "codeberg-cli"
"git"
"nss-certs"))
"nss-certs"))))
;; For installer
(specifications->manifest
(list "guile-newt"