website: packages: Fix list of supported architecture.

package-transitive-supported-systems looks at the transitive closure of
inputs for the current architecture.  When we generate the website on
x86_64, it selects the reduced bootstrap path, which is only supported
on x86_64 and i686.  The result is that it would show only these two
architectures as supported when it is not the case.

Thanks to baryluk on IRC for noticing the set of supported architecture
on the website was so small.

* website/apps/packages/templates/components.scm (package-t): Fix list of
supported architecture.
This commit is contained in:
Julien Lepiller 2020-11-23 22:21:51 +01:00
parent 392c4affbe
commit 34eea1c726
No known key found for this signature in database
GPG Key ID: 53D457B2D636EE82
1 changed files with 3 additions and 4 deletions

View File

@ -16,6 +16,7 @@
#:use-module (guix packages)
#:use-module (guix gnu-maintenance)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26)
#:use-module (texinfo)
#:use-module (texinfo plain-text)
#:export (detailed-package-preview
@ -262,10 +263,8 @@
(package-id (string-append (package-name package)
"-"
(package-version package)))
(systems (lset-intersection
string=?
%hydra-supported-systems
(package-transitive-supported-systems package))))
(systems (filter (cut supported-package? package <>)
%hydra-supported-systems)))
(if (null? systems)
(C_ "systems" "None")
;; TODO: There's currently no way to refer to a job like