summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-12-08 15:50:35 +0100
committerLudovic Courtès <ludo@gnu.org>2021-12-08 18:56:52 +0100
commit3867cb7885d72f07cb34479738b4746443ca5b92 (patch)
treef24e80f2ab8e376f0aaac7d0b517062dc63b6aa3
parent49599fab564f203b8e92d32e9b28c99e99849bfb (diff)
maint: Don't require unsupported packages such as GNOME on i686-linux.
* etc/release-manifest.scm (%system-manifest): Filter out PACKAGE when it doesn't pass 'supported-package?'.
-rw-r--r--etc/release-manifest.scm9
1 files changed, 7 insertions, 2 deletions
diff --git a/etc/release-manifest.scm b/etc/release-manifest.scm
index 4375c9bf8b..e7e64efda4 100644
--- a/etc/release-manifest.scm
+++ b/etc/release-manifest.scm
@@ -125,8 +125,13 @@ TARGET."
(define %system-manifest
(manifest
(append-map (lambda (system)
- (map (cut package->manifest-entry* <> system)
- %system-packages))
+ ;; Some of %SYSTEM-PACKAGES are currently unsupported on some
+ ;; systems--e.g., GNOME on non-x86_64, due to Rust. Filter
+ ;; them out.
+ (filter-map (lambda (package)
+ (and (supported-package? package system)
+ (package->manifest-entry* package system)))
+ %system-packages))
'("x86_64-linux" "i686-linux")))) ;Guix System
(define %cross-manifest