[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48806] [PATCH 4/7] grafts: Use SRFI-71 instead of SRFI-11.
From: |
Ludovic Courtès |
Subject: |
[bug#48806] [PATCH 4/7] grafts: Use SRFI-71 instead of SRFI-11. |
Date: |
Thu, 3 Jun 2021 09:33:58 +0200 |
* guix/grafts.scm (reference-origins): Use SRFI-71 'let*'.
---
guix/grafts.scm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/guix/grafts.scm b/guix/grafts.scm
index dff3d75b8b..e5672268b1 100644
--- a/guix/grafts.scm
+++ b/guix/grafts.scm
@@ -25,10 +25,10 @@
#:use-module ((guix utils) #:select (%current-system))
#:use-module (guix sets)
#:use-module (srfi srfi-1)
- #:use-module (srfi srfi-11)
#:use-module (srfi srfi-9 gnu)
#:use-module (srfi srfi-26)
#:use-module (srfi srfi-34)
+ #:use-module (srfi srfi-71)
#:use-module (ice-9 match)
#:use-module (ice-9 vlist)
#:export (graft?
@@ -223,10 +223,10 @@ have no corresponding element in the resulting list."
((set-contains? visited drv)
(loop rest items result visited))
(else
- (let*-values (((inputs)
- (map derivation-input-derivation
- (derivation-inputs drv)))
- ((result items)
+ (let* ((inputs
+ (map derivation-input-derivation
+ (derivation-inputs drv)))
+ (result items
(fold2 lookup-derivers
result items inputs)))
(loop (append rest inputs)
--
2.31.1
- [bug#48806] [PATCH 0/7] Generalized cache support and improved graft caching, Ludovic Courtès, 2021/06/03
- [bug#48806] [PATCH 1/7] store: Support dynamic allocation of per-connection caches., Ludovic Courtès, 2021/06/03
- [bug#48806] [PATCH 2/7] store: Generalize cache lookup recording., Ludovic Courtès, 2021/06/03
- [bug#48806] [PATCH 3/7] grafts: Record cache lookups for profiling., Ludovic Courtès, 2021/06/03
- [bug#48806] [PATCH 5/7] store: Remove 'references/substitutes'., Ludovic Courtès, 2021/06/03
- [bug#48806] [PATCH 6/7] store: 'references/cached' now uses a per-session cache., Ludovic Courtès, 2021/06/03
- [bug#48806] [PATCH 4/7] grafts: Use SRFI-71 instead of SRFI-11.,
Ludovic Courtès <=
- [bug#48806] [PATCH 7/7] grafts: Cache the derivation/graft mapping for the whole session., Ludovic Courtès, 2021/06/03
- [bug#48806] [PATCH 0/7] Generalized cache support and improved graft caching, Lars-Dominik Braun, 2021/06/03