diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-06-18 23:25:49 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-06-19 10:23:28 +0200 |
commit | 020f3e41568d4f76544e3e1c10e1d8dd4effc424 (patch) | |
tree | 84e5d4c15c063042e24fe96a5b87f22d9206af7a /guix | |
parent | b22755be951f80364673e4ed7f4ad8cea4899f2a (diff) | |
download | gnu-guix-020f3e41568d4f76544e3e1c10e1d8dd4effc424.tar gnu-guix-020f3e41568d4f76544e3e1c10e1d8dd4effc424.tar.gz |
gexp: 'local-file' now defaults to non-recursive.
Reported by Alex Kost <alezost@gmail.com>
at <http://lists.gnu.org/archive/html/guix-devel/2015-06/msg00235.html>.
* guix/gexp.scm (local-file): Change #:recursive? to default to #f.
* tests/gexp.scm ("one local file", "gexp->derivation, local-file"): Adjust
calls to 'add-to-store' and 'interned-file' accordingly.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/gexp.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/gexp.scm b/guix/gexp.scm index 10056e5a1f..b3c4166d1a 100644 --- a/guix/gexp.scm +++ b/guix/gexp.scm @@ -157,7 +157,7 @@ cross-compiling.)" (recursive? local-file-recursive?)) ;Boolean (define* (local-file file #:optional (name (basename file)) - #:key (recursive? #t)) + #:key recursive?) "Return an object representing local file FILE to add to the store; this object can be used in a gexp. FILE will be added to the store under NAME--by default the base name of FILE. |