diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2026-02-18 17:26:28 +0900 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2026-02-18 17:51:19 +0900 |
| commit | e66be1b6632eedb272924aeeb81e4b5aed42c266 (patch) | |
| tree | 994c72f9441f69dda7f47da7053fb1348e03f831 /manifest.scm | |
| parent | eaae33bcbb8f8d1b0d2bc5a880983a20f6b5d7eb (diff) | |
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
Diffstat (limited to 'manifest.scm')
| -rw-r--r-- | manifest.scm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/manifest.scm b/manifest.scm index ea8e25e405d..681749a9f41 100644 --- a/manifest.scm +++ b/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" |
