~ruther/guix-local

a1b46bdc069e6e3bbc5b171fafbc40213611ff1f — Ludovic Courtès 8 years ago b45aa39
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.
1 files changed, 1 insertions(+), 0 deletions(-)

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