HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a5fa00
)
refresh: '--list-dependents' ignores deprecated packages.
author
Ludovic Courtès
<ludo@gnu.org>
Tue, 4 Dec 2018 09:34:03 +0000
(10:34 +0100)
committer
Ludovic Courtès
<ludo@gnu.org>
Tue, 4 Dec 2018 09:57:56 +0000
(10:57 +0100)
* guix/scripts/refresh.scm (all-packages): Filter out deprecated packages.
guix/scripts/refresh.scm
patch
|
blob
|
blame
|
history
diff --git
a/guix/scripts/refresh.scm
b/guix/scripts/refresh.scm
index
58fc64d
..
60e822b
100644
(file)
--- a/
guix/scripts/refresh.scm
+++ b/
guix/scripts/refresh.scm
@@
-278,7
+278,12
@@
the latest known version of ~a (~a)~%")
(define (all-packages)
"Return the list of all the distro's packages."
- (fold-packages cons '()
+ (fold-packages (lambda (package result)
+ ;; Ignore deprecated packages.
+ (if (package-superseded package)
+ result
+ (cons package result)))
+ '()
#:select? (const #t))) ;include hidden packages
(define (list-dependents packages)