mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
guix package: '--list-available' does not show superseded packages.
* guix/scripts/package.scm (process-query) <'list-available>: Filter out P if it matches 'package-superseded'.
This commit is contained in:
parent
17650569d4
commit
44c6a87f53
1 changed files with 2 additions and 1 deletions
|
@ -738,7 +738,8 @@ (define (diff-profiles profile numbers)
|
|||
(available (fold-packages
|
||||
(lambda (p r)
|
||||
(let ((n (package-name p)))
|
||||
(if (supported-package? p)
|
||||
(if (and (supported-package? p)
|
||||
(not (package-superseded p)))
|
||||
(if regexp
|
||||
(if (regexp-exec regexp n)
|
||||
(cons p r)
|
||||
|
|
Loading…
Reference in a new issue