From cfbf916045c180c8f77f90e9c910012f18447dc9 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 10 Sep 2013 22:36:41 +0200 Subject: store: The 'references' parameter of 'add-text-to-store' is now optional. * guix/store.scm (add-text-to-store): Make 'references' optional. * tests/store.scm ("dead-paths", "references"): Use 'add-text-to-store' with no optional argument. * doc/guix.texi (The Store): Adjust accordingly. --- guix/store.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guix/store.scm') diff --git a/guix/store.scm b/guix/store.scm index 541c7c848f..0f1e2f9466 100644 --- a/guix/store.scm +++ b/guix/store.scm @@ -452,7 +452,7 @@ encoding conversion errors." (string-list references)) #f store-path))) - (lambda (server name text references) + (lambda* (server name text #:optional (references '())) "Add TEXT under file NAME in the store, and return its store path. REFERENCES is the list of store paths referred to by the resulting store path." -- cgit v1.2.3