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?'.
This commit is contained in:
Ludovic Courtès 2021-12-08 15:50:35 +01:00
parent 49599fab56
commit 3867cb7885
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 7 additions and 2 deletions

View File

@ -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