me
/
guix
Archived
1
0
Fork 0

guix package: Always upgrade packages that have propagated inputs.

* guix/scripts/package.scm (transaction-upgrade-entry): Always upgrade
packages that have propagated inputs.
master
Ludovic Courtès 2017-06-07 11:15:29 +02:00
parent b3a00885c0
commit 81e3485c0d
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 1 deletions

View File

@ -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)