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.
This commit is contained in:
Ludovic Courtès 2017-06-25 22:16:58 +02:00
parent b45aa39b26
commit a1b46bdc06
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 0 deletions

View File

@ -321,6 +321,7 @@ of relevance scores."
(package->manifest-entry pkg output)
transaction))))))))
(#f
(warning (G_ "package '~a' no longer exists~%") name)
transaction)))))