diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-09-06 14:39:54 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-09-06 14:40:43 +0200 |
commit | d2d63e20d5b981009b61bf416b4d7b516e8f1f34 (patch) | |
tree | 8f58dfb15d88099eacf484a62651241614cb6818 /gnu/packages.scm | |
parent | 25bdbb618a4947e8d5dcf14c440bf58fad58165f (diff) | |
download | patches-d2d63e20d5b981009b61bf416b4d7b516e8f1f34.tar patches-d2d63e20d5b981009b61bf416b4d7b516e8f1f34.tar.gz |
packages: 'generate-package-cache' uses 'supported-package?'.
* gnu/packages.scm (generate-package-cache): Use 'supported-package?'
instead of 'package-supported-systems'.
Diffstat (limited to 'gnu/packages.scm')
-rw-r--r-- | gnu/packages.scm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gnu/packages.scm b/gnu/packages.scm index 47e4f473b5..6633631c1f 100644 --- a/gnu/packages.scm +++ b/gnu/packages.scm @@ -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 |