summaryrefslogtreecommitdiff
path: root/guix/scripts/package.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-06-25 22:16:58 +0200
committerLudovic Courtès <ludo@gnu.org>2017-06-25 22:29:15 +0200
commita1b46bdc069e6e3bbc5b171fafbc40213611ff1f (patch)
treec4de8153834ae2a3599cdbbbaa1004d859711461 /guix/scripts/package.scm
parentb45aa39b26f6132df7231b269d2f24f4f8d0c8f0 (diff)
guix package: Warn about packages that no longer exist.
Fixes <http://bugs.gnu.org/27261>. Reported by Mark H Weaver <mhw@netris.org>. * guix/scripts/package.scm (transaction-upgrade-entry): Add call to 'warning' when NAME cannot be found in the package set.
Diffstat (limited to 'guix/scripts/package.scm')
-rw-r--r--guix/scripts/package.scm1
1 files changed, 1 insertions, 0 deletions
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 @@ of relevance scores."
(package->manifest-entry pkg output)
transaction))))))))
(#f
+ (warning (G_ "package '~a' no longer exists~%") name)
transaction)))))