guix package: 'guix package -r PKG -u' does not upgrade PKG.
authorLudovic Courtès <ludo@gnu.org>
Mon, 26 Jun 2017 20:48:57 +0000 (22:48 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 26 Jun 2017 20:52:06 +0000 (22:52 +0200)
commitfc8fdcf56ecc159cb4e85ffdde60a54c4fa5c04f
tree48cb3a6242753407b7a1075a3a33f496c5e94bc7
parent6d382339de1c9fbe20ec056fb5200d5724a4aa44
guix package: 'guix package -r PKG -u' does not upgrade PKG.

Fixes <http://bugs.gnu.org/27262>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/scripts/package.scm (transaction-upgrade-entry): Check if ENTRY
matches 'manifest-transaction-removal-candidate?' and return TRANSACTION
if it does.
(process-actions): Move 'options->removable' from step 2 to step 1.
guix/scripts/package.scm
tests/guix-package.sh