guix_mirror_bot pushed a commit to branch master
in repository guix.

commit e66be1b6632eedb272924aeeb81e4b5aed42c266
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Wed Feb 18 17:26:28 2026 +0900

    manifest.scm: Handle unsupported packages gracefully.
    
    Previously, 'guix shell' on a powerpc64le machine for example would fail 
with:
    
      error: package [email protected] does not support powerpc64le-linux
    
    * manifest.scm: Filter out unsupported packages.
    
    Change-Id: Ib47b80a4ba4ffa99a0834ef45493fe70ceb1d534
---
 manifest.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/manifest.scm b/manifest.scm
index ea8e25e405..681749a9f4 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"

Reply via email to