weather: Ignore deprecated packages but not hidden packages.

* guix/scripts/weather.scm (all-packages): Pass #:select? to
'fold-packages'.
master
Ludovic Courtès 2019-01-25 10:06:32 +01:00
parent 3e223a22a7
commit 731c1a20bc
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017, 2018 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018 Kyle Meyer <kyle@kyleam.com>
;;;
@ -51,7 +51,10 @@
(cons* replacement package result))
(#f
(cons package result))))
'()))
'()
;; Dismiss deprecated packages but keep hidden packages.
#:select? (negate package-superseded)))
(define (call-with-progress-reporter reporter proc)
"This is a variant of 'call-with-progress-reporter' that works with monadic