guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 01/02: guix package: '-A' no longer lists deprecated packages.
Date: Fri, 1 Feb 2019 13:33:19 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 35ef5bc8662b42bd8de3da1d720c12dc9e430f4e
Author: Ludovic Courtès <address@hidden>
Date:   Fri Feb 1 12:43:42 2019 +0100

    guix package: '-A' no longer lists deprecated packages.
    
    Fixes a regression introduced in
    0ea939fb796fdd4f0d46d3534b2ec6135e0f3dc7.
    
    * guix/scripts/package.scm (process-query) <'list-available>: Change
     #:superseded? to #:deprecated? since that's what
     'fold-available-packages' passes.
---
 guix/scripts/package.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index a633d2e..8a71467 100644
--- a/guix/scripts/package.scm
+++ b/guix/scripts/package.scm
@@ -739,9 +739,9 @@ processed, #f otherwise."
               (available (fold-available-packages
                           (lambda* (name version result
                                          #:key outputs location
-                                         supported? superseded?
+                                         supported? deprecated?
                                          #:allow-other-keys)
-                            (if (and supported? (not superseded?))
+                            (if (and supported? (not deprecated?))
                                 (if regexp
                                     (if (regexp-exec regexp name)
                                         (cons `(,name ,version



reply via email to

[Prev in Thread] Current Thread [Next in Thread]