guix-commits
[Top][All Lists]
Advanced

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

02/06: weather: Ignore deprecated packages but not hidden packages.


From: guix-commits
Subject: 02/06: weather: Ignore deprecated packages but not hidden packages.
Date: Fri, 25 Jan 2019 08:06:55 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 731c1a20bc7edf7612d34754a7760e8219220010
Author: Ludovic Courtès <address@hidden>
Date:   Fri Jan 25 10:06:32 2019 +0100

    weather: Ignore deprecated packages but not hidden packages.
    
    * guix/scripts/weather.scm (all-packages): Pass #:select? to
    'fold-packages'.
---
 guix/scripts/weather.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/guix/scripts/weather.scm b/guix/scripts/weather.scm
index 98b7338..bb326a6 100644
--- a/guix/scripts/weather.scm
+++ b/guix/scripts/weather.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2017, 2018 Ludovic Courtès <address@hidden>
+;;; Copyright © 2017, 2018, 2019 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2017 Ricardo Wurmus <address@hidden>
 ;;; Copyright © 2018 Kyle Meyer <address@hidden>
 ;;;
@@ -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



reply via email to

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