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'.
This commit is contained in:
Ludovic Courtès 2017-11-06 23:22:03 +01:00
parent 96dc8f3527
commit 8e57e416c0
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -273,7 +273,8 @@ (define* (check-for-package-update package updaters #:key warn?)
(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."