guix package: Always upgrade packages that have propagated inputs.
* guix/scripts/package.scm (transaction-upgrade-entry): Always upgrade packages that have propagated inputs.master
parent
b3a00885c0
commit
81e3485c0d
|
@ -312,7 +312,10 @@ of relevance scores."
|
||||||
((=)
|
((=)
|
||||||
(let ((candidate-path (derivation->output-path
|
(let ((candidate-path (derivation->output-path
|
||||||
(package-derivation (%store) pkg))))
|
(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
|
transaction
|
||||||
(manifest-transaction-install-entry
|
(manifest-transaction-install-entry
|
||||||
(package->manifest-entry pkg output)
|
(package->manifest-entry pkg output)
|
||||||
|
|
Reference in New Issue