[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: guix package: Always upgrade packages that have propagated inputs
From: |
Ludovic Courtès |
Subject: |
04/06: guix package: Always upgrade packages that have propagated inputs. |
Date: |
Wed, 21 Jun 2017 05:06:11 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 81e3485c0d012e29d4e551107fc31c0da89b0006
Author: Ludovic Courtès <address@hidden>
Date: Wed Jun 7 11:15:29 2017 +0200
guix package: Always upgrade packages that have propagated inputs.
* guix/scripts/package.scm (transaction-upgrade-entry): Always upgrade
packages that have propagated inputs.
---
guix/scripts/package.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index a6bfb03..5e19df5 100644
--- a/guix/scripts/package.scm
+++ b/guix/scripts/package.scm
@@ -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)
- branch master updated (fa3f5f4 -> 8c9e90d), Ludovic Courtès, 2017/06/21
- 01/06: gnu: unbound: Do not build static libraries., Ludovic Courtès, 2017/06/21
- 06/06: guix package: '--search-paths' shows search paths from propagated inputs., Ludovic Courtès, 2017/06/21
- 02/06: profiles: Represent propagated inputs as manifest entries., Ludovic Courtès, 2017/06/21
- 03/06: profiles: Manifest entries keep a reference to their parent entry., Ludovic Courtès, 2017/06/21
- 05/06: profiles: Catch and report collisions in the profile., Ludovic Courtès, 2017/06/21
- 04/06: guix package: Always upgrade packages that have propagated inputs.,
Ludovic Courtès <=