~ruther/guix-local

81e3485c0d012e29d4e551107fc31c0da89b0006 — Ludovic Courtès 8 years ago b3a0088
guix package: Always upgrade packages that have propagated inputs.

* guix/scripts/package.scm (transaction-upgrade-entry): Always upgrade
packages that have propagated inputs.
1 files changed, 4 insertions(+), 1 deletions(-)

M guix/scripts/package.scm
M guix/scripts/package.scm => guix/scripts/package.scm +4 -1
@@ 312,7 312,10 @@ of relevance scores."
             ((=)
              (let ((candidate-path (derivation->output-path
                                     (package-derivation (%store) pkg))))
                (if (string=? path candidate-path)
                ;; XXX: When there are propagated inputs, assume we need to
                ;; upgrade the whole entry.
                (if (and (string=? path candidate-path)
                         (null? (package-propagated-inputs pkg)))
                    transaction
                    (manifest-transaction-install-entry
                     (package->manifest-entry pkg output)