summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-09-06 14:39:54 +0200
committerLudovic Courtès <ludo@gnu.org>2019-09-06 14:40:43 +0200
commitd2d63e20d5b981009b61bf416b4d7b516e8f1f34 (patch)
tree8f58dfb15d88099eacf484a62651241614cb6818
parent25bdbb618a4947e8d5dcf14c440bf58fad58165f (diff)
downloadpatches-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'.
-rw-r--r--gnu/packages.scm4
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