summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-11-06 23:22:03 +0100
committerLudovic Courtès <ludo@gnu.org>2017-11-07 00:12:10 +0100
commit8e57e416c0a6431a14d487ff8b69dece76d37c03 (patch)
tree9ec23e7e81135269c437e72fb95f2672770e8bac
parent96dc8f3527a6ac0c84b51f7a0cac1d8052cf0e72 (diff)
downloadguix-8e57e416c0a6431a14d487ff8b69dece76d37c03.tar.gz
refresh: Account for hidden packages.
Suggested by Marius Bakke <mbakke@fastmail.com>
in <https://bugs.gnu.org/29177>.

* guix/scripts/refresh.scm (all-packages): Pass #:select? to
'fold-packages'.
-rw-r--r--guix/scripts/refresh.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index 852b44b38d..a8fe993e33 100644
--- a/guix/scripts/refresh.scm
+++ b/guix/scripts/refresh.scm
@@ -273,7 +273,8 @@ the latest known version of ~a (~a)~%")
 
 (define (all-packages)
   "Return the list of all the distro's packages."
-  (fold-packages cons '()))
+  (fold-packages cons '()
+                 #:select? (const #t)))           ;include hidden packages
 
 (define (list-dependents packages)
   "List all the things that would need to be rebuilt if PACKAGES are changed."