civodul pushed a commit to branch master
in repository guix.
commit a1b46bdc069e6e3bbc5b171fafbc40213611ff1f
Author: Ludovic Courtès <[email protected]>
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 <[email protected]>.
* 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)))))