~ruther/guix-local

44c6a87f53690dd47a8ef1f139b863ba696104a1 — Ludovic Courtès 8 years ago 1765056
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'.
1 files changed, 2 insertions(+), 1 deletions(-)

M guix/scripts/package.scm
M guix/scripts/package.scm => guix/scripts/package.scm +2 -1
@@ 738,7 738,8 @@ processed, #f otherwise."
              (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)