diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-03-28 21:26:33 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-03-29 22:23:33 +0200 |
commit | d9ae938f2c950f3bf1896fb07189c3e28b4d8029 (patch) | |
tree | d9e533d40ad7d7e7cc02f5329e6502d0ab5b9013 /nix/libstore | |
parent | b39fc6f7bcbe2c87247be48393a5a4105e08cc6d (diff) | |
download | guix-d9ae938f2c950f3bf1896fb07189c3e28b4d8029.tar.gz guix-d9ae938f2c950f3bf1896fb07189c3e28b4d8029.zip |
gexp: Add 'local-file'.
* guix/gexp.scm (<local-file>): New record type.
(local-file): New procedure.
(local-file-compiler): New compiler.
(gexp->sexp) <struct? thing>: Handle the case where 'lower' returns a
file name.
(text-file*): Update docstring.local-file doc
* tests/gexp.scm ("one local file", "gexp->derivation, local-file"): New
tests.
* doc/guix.texi (G-Expressions): Mention local files early. Document
'local-file'. Update 'text-file*' documentation.
Diffstat (limited to 'nix/libstore')
0 files changed, 0 insertions, 0 deletions