[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/15: challenge: Use SRFI-71 instead of SRFI-11.
From: |
guix-commits |
Subject: |
01/15: challenge: Use SRFI-71 instead of SRFI-11. |
Date: |
Sat, 11 Dec 2021 18:29:27 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit c6903e156fff67ea43bf11443562a8e4f780a54d
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sat Dec 11 16:03:57 2021 +0100
challenge: Use SRFI-71 instead of SRFI-11.
* guix/scripts/challenge.scm (port-sha256*, call-with-nar): Use SRFI-71.
---
guix/scripts/challenge.scm | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/guix/scripts/challenge.scm b/guix/scripts/challenge.scm
index 69c2781..57ffe88 100644
--- a/guix/scripts/challenge.scm
+++ b/guix/scripts/challenge.scm
@@ -35,10 +35,10 @@
#:use-module (gcrypt hash)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-9)
- #:use-module (srfi srfi-11)
#:use-module (srfi srfi-26)
#:use-module (srfi srfi-34)
#:use-module (srfi srfi-37)
+ #:use-module (srfi srfi-71)
#:use-module (ice-9 match)
#:use-module (ice-9 vlist)
#:use-module (ice-9 format)
@@ -196,7 +196,7 @@ taken since we do not import the archives."
(define (port-sha256* port size)
;; Like 'port-sha256', but limited to SIZE bytes.
- (let-values (((out get) (open-sha256-port)))
+ (let ((out get (open-sha256-port)))
(dump-port* port out size)
(close-port out)
(get)))
@@ -251,10 +251,8 @@ taken since we do not import the archives."
(define (call-with-nar narinfo proc)
"Call PROC with an input port from which it can read the nar pointed to by
NARINFO."
- (let*-values (((uri compression size)
- (narinfo-best-uri narinfo))
- ((port actual-size)
- (http-fetch uri)))
+ (let* ((uri compression size (narinfo-best-uri narinfo))
+ (port actual-size (http-fetch uri)))
(define reporter
(progress-reporter/file (narinfo-path narinfo)
(and size
- branch master updated (d5cfca2 -> 8bb6c74), guix-commits, 2021/12/11
- 01/15: challenge: Use SRFI-71 instead of SRFI-11.,
guix-commits <=
- 02/15: challenge: Store item contents are returned in canonical order., guix-commits, 2021/12/11
- 03/15: substitutes: Build correct narinfo URLs for cache URLs without trailing slash., guix-commits, 2021/12/11
- 05/15: gnu: Add ascii., guix-commits, 2021/12/11
- 07/15: gnu: python-vcrpy: Update to 4.1.1., guix-commits, 2021/12/11
- 04/15: narinfo: Do not repeat slash when building nar URLs., guix-commits, 2021/12/11
- 08/15: gnu: python-aws-sam-translator: Update to 1.40.0., guix-commits, 2021/12/11
- 06/15: gnu: Add python-ipaddress., guix-commits, 2021/12/11
- 09/15: gnu: python-cfn-lint: Update to 0.54.3., guix-commits, 2021/12/11
- 10/15: gnu: python-cfn-lint: Honor #:tests? flag., guix-commits, 2021/12/11
- 12/15: gnu: python-s3transfer: Honor #:tests? flag., guix-commits, 2021/12/11