guix package: Always upgrade packages that have propagated inputs.
* guix/scripts/package.scm (transaction-upgrade-entry): Always upgrade packages that have propagated inputs.
This commit is contained in:
parent
b3a00885c0
commit
81e3485c0d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user