[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/09: guix package: Remove unnecessary use of (%store).
From: |
Ludovic Courtès |
Subject: |
01/09: guix package: Remove unnecessary use of (%store). |
Date: |
Mon, 30 Nov 2015 22:20:46 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 0993f9426742bdd7d866bd3afe3bce3658bbe401
Author: Ludovic Courtès <address@hidden>
Date: Mon Nov 30 09:54:07 2015 +0100
guix package: Remove unnecessary use of (%store).
* guix/scripts/package.scm (delete-matching-generations): Use STORE
instead of (%store).
---
guix/scripts/package.scm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index b1bce70..750d2af 100644
--- a/guix/scripts/package.scm
+++ b/guix/scripts/package.scm
@@ -110,7 +110,7 @@ denote ranges as interpreted by 'matching-derivations'."
(raise (condition (&profile-not-found-error
(profile profile)))))
((string-null? pattern)
- (delete-generations (%store) profile
+ (delete-generations store profile
(delv current (profile-generations profile))))
;; Do not delete the zeroth generation.
((equal? 0 (string->number pattern))
@@ -131,7 +131,7 @@ denote ranges as interpreted by 'matching-derivations'."
(let ((numbers (delv current numbers)))
(when (null-list? numbers)
(leave (_ "no matching generation~%")))
- (delete-generations (%store) profile numbers))))
+ (delete-generations store profile numbers))))
(else
(leave (_ "invalid syntax: ~a~%") pattern)))))
- branch master updated (ccd20fc -> 64ec0e2), Ludovic Courtès, 2015/11/30
- 01/09: guix package: Remove unnecessary use of (%store).,
Ludovic Courtès <=
- 07/09: guix package: Move 'process-actions' out of sight., Ludovic Courtès, 2015/11/30
- 03/09: guix package: Move 'build-and-use-profile' out of sight., Ludovic Courtès, 2015/11/30
- 06/09: build: Fix detection of ARM systems., Ludovic Courtès, 2015/11/30
- 02/09: guix package: Move a couple of procedures out of sight., Ludovic Courtès, 2015/11/30
- 05/09: guix package: Formalize the list of actions., Ludovic Courtès, 2015/11/30
- 08/09: guix package: Refactor 'options->installable'., Ludovic Courtès, 2015/11/30
- 09/09: guix build: Modularize transformation handling., Ludovic Courtès, 2015/11/30
- 04/09: nls: Update 'de' translation., Ludovic Courtès, 2015/11/30