diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-06-25 22:16:58 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-06-25 22:29:15 +0200 |
commit | a1b46bdc069e6e3bbc5b171fafbc40213611ff1f (patch) | |
tree | c4de8153834ae2a3599cdbbbaa1004d859711461 | |
parent | b45aa39b26f6132df7231b269d2f24f4f8d0c8f0 (diff) | |
download | guix-a1b46bdc069e6e3bbc5b171fafbc40213611ff1f.tar guix-a1b46bdc069e6e3bbc5b171fafbc40213611ff1f.tar.gz |
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.
-rw-r--r-- | guix/scripts/package.scm | 1 |
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))))) |