Skip to content
Snippets Groups Projects
Unverified Commit 81e3485c authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

guix package: Always upgrade packages that have propagated inputs.

* guix/scripts/package.scm (transaction-upgrade-entry): Always upgrade
packages that have propagated inputs.
parent b3a00885
No related branches found
No related tags found
No related merge requests found
......@@ -312,7 +312,10 @@ (define (supersede old new)
((=)
(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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment