From a1b46bdc069e6e3bbc5b171fafbc40213611ff1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 25 Jun 2017 22:16:58 +0200 Subject: [PATCH] guix package: Warn about packages that no longer exist. Fixes . Reported by Mark H Weaver . * 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 4834da9271..1f835ca5a5 100644 --- a/guix/scripts/package.scm +++ b/guix/scripts/package.scm @@ -321,6 +321,7 @@ (define (supersede old new) (package->manifest-entry pkg output) transaction)))))))) (#f + (warning (G_ "package '~a' no longer exists~%") name) transaction)))))