packages: 'generate-package-cache' uses 'supported-package?'.

* gnu/packages.scm (generate-package-cache): Use 'supported-package?'
instead of 'package-supported-systems'.
This commit is contained in:
Ludovic Courtès 2019-09-06 14:39:54 +02:00
parent 25bdbb618a
commit d2d63e20d5
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -393,9 +393,7 @@ reducing the memory footprint."
,(module-name module)
,symbol
,(package-outputs package)
,(->bool
(member (%current-system)
(package-supported-systems package)))
,(->bool (supported-package? package))
,(->bool (package-superseded package))
,@(let ((loc (package-location package)))
(if loc