[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-scheme] 76/324: scripts: download-store: make dependency on guix
From: |
gnunet |
Subject: |
[gnunet-scheme] 76/324: scripts: download-store: make dependency on guix optional |
Date: |
Tue, 21 Sep 2021 13:21:56 +0200 |
This is an automated email from the git hooks/post-receive script.
maxime-devos pushed a commit to branch master
in repository gnunet-scheme.
commit f49852223ad0005cb6585c22e6dc5e11ab64dbcf
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sat Feb 6 20:50:18 2021 +0100
scripts: download-store: make dependency on guix optional
It is only used for generating nars now.
* gnu/gnunet/scripts/guix-stuff.scm
(write-file-tree/lazywrap): wrap write-file-tree.
* gnu/gnunet/scripts/download-store.scm: use wrapped
write-file-tree.
---
gnu/gnunet/scripts/download-store.scm | 3 ---
gnu/gnunet/scripts/guix-stuff.scm | 7 ++++++-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/gnu/gnunet/scripts/download-store.scm
b/gnu/gnunet/scripts/download-store.scm
index 50d2c4b..ad57e2e 100644
--- a/gnu/gnunet/scripts/download-store.scm
+++ b/gnu/gnunet/scripts/download-store.scm
@@ -26,9 +26,6 @@
(rnrs io simple)
(rnrs io ports)
(rnrs bytevectors)
- (only (guix serialization)
- ;; XXX make optional
- write-file-tree)
(ice-9 match)
(only (rnrs control) when unless)
(only (rnrs programs) exit)
diff --git a/gnu/gnunet/scripts/guix-stuff.scm
b/gnu/gnunet/scripts/guix-stuff.scm
index d2f61de..ca129bb 100644
--- a/gnu/gnunet/scripts/guix-stuff.scm
+++ b/gnu/gnunet/scripts/guix-stuff.scm
@@ -20,7 +20,12 @@
(define-module (gnu gnunet scripts guix-stuff)
#:export (call-with-temporary-output-file
- temporary-output-file))
+ temporary-output-file
+ (write-file-tree/lazywrap . write-file-tree))
+ #:autoload (guix serialization) (write-file-tree))
+
+(define (write-file-tree/lazywrap . rest)
+ (apply write-file-tree rest))
(define (call-with-temporary-output-file proc)
"Call PROC with a name of a temporary file and open output port to that
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet-scheme] 66/324: Document how to use GNUnet FS without networking., (continued)
- [gnunet-scheme] 66/324: Document how to use GNUnet FS without networking., gnunet, 2021/09/21
- [gnunet-scheme] 70/324: doc: Progress update in README.org, gnunet, 2021/09/21
- [gnunet-scheme] 72/324: mq: fix make-envelope/dll constructor., gnunet, 2021/09/21
- [gnunet-scheme] 65/324: download-store: prepare supporting the nar output format, gnunet, 2021/09/21
- [gnunet-scheme] 64/324: scripts: download-store: use SRFI-39 parameters for configuration, gnunet, 2021/09/21
- [gnunet-scheme] 75/324: build: correct propagated-inputs fields, gnunet, 2021/09/21
- [gnunet-scheme] 79/324: vc: add most build artifacts to .gitignore, gnunet, 2021/09/21
- [gnunet-scheme] 80/324: Define various common network structures, gnunet, 2021/09/21
- [gnunet-scheme] 86/324: doc: Update the roadmap on Guix + GNUnet., gnunet, 2021/09/21
- [gnunet-scheme] 84/324: utils: correct definition of unsigned integers, gnunet, 2021/09/21
- [gnunet-scheme] 76/324: scripts: download-store: make dependency on guix optional,
gnunet <=
- [gnunet-scheme] 83/324: Document the current state of message queues., gnunet, 2021/09/21
- [gnunet-scheme] 85/324: mq: Do not include callbacks in envelopes., gnunet, 2021/09/21
- [gnunet-scheme] 91/324: Define slice-copy! and slice-zero!., gnunet, 2021/09/21
- [gnunet-scheme] 90/324: icmp: Define some packet types and error codes., gnunet, 2021/09/21
- [gnunet-scheme] 100/324: config: parser: Define return types for expansion parser., gnunet, 2021/09/21
- [gnunet-scheme] 108/324: tets: message-handler: Correct imports., gnunet, 2021/09/21
- [gnunet-scheme] 110/324: config: Define a quaject for quering and modifying a configuration., gnunet, 2021/09/21
- [gnunet-scheme] 71/324: doc: Document maintainer quirk, gnunet, 2021/09/21
- [gnunet-scheme] 77/324: util: add missing import, gnunet, 2021/09/21
- [gnunet-scheme] 82/324: Implement self-documenting ‘network structures’, gnunet, 2021/09/21