guix-commits
[Top][All Lists]
Advanced

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

01/01: guix package: Warn about packages that no longer exist.


From: Ludovic Courtès
Subject: 01/01: guix package: Warn about packages that no longer exist.
Date: Sun, 25 Jun 2017 16:29:32 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit a1b46bdc069e6e3bbc5b171fafbc40213611ff1f
Author: Ludovic Courtès <address@hidden>
Date:   Sun Jun 25 22:16:58 2017 +0200

    guix package: Warn about packages that no longer exist.
    
    Fixes <http://bugs.gnu.org/27261>.
    Reported by Mark H Weaver <address@hidden>.
    
    * guix/scripts/package.scm (transaction-upgrade-entry): Add call to
    'warning' when NAME cannot be found in the package set.
---
 guix/scripts/package.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index 4834da9..1f835ca 100644
--- a/guix/scripts/package.scm
+++ b/guix/scripts/package.scm
@@ -321,6 +321,7 @@ of relevance scores."
                      (package->manifest-entry pkg output)
                      transaction))))))))
        (#f
+        (warning (G_ "package '~a' no longer exists~%") name)
         transaction)))))
 
 



reply via email to

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