guix package: '-A' no longer lists deprecated packages.

Fixes a regression introduced in
0ea939fb79.

* guix/scripts/package.scm (process-query) <'list-available>: Change
 #:superseded? to #:deprecated? since that's what
 'fold-available-packages' passes.
This commit is contained in:
Ludovic Courtès 2019-02-01 12:43:42 +01:00
parent 389ae5181e
commit 35ef5bc866
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 2 deletions

View File

@ -739,9 +739,9 @@ processed, #f otherwise."
(available (fold-available-packages (available (fold-available-packages
(lambda* (name version result (lambda* (name version result
#:key outputs location #:key outputs location
supported? superseded? supported? deprecated?
#:allow-other-keys) #:allow-other-keys)
(if (and supported? (not superseded?)) (if (and supported? (not deprecated?))
(if regexp (if regexp
(if (regexp-exec regexp name) (if (regexp-exec regexp name)
(cons `(,name ,version (cons `(,name ,version