diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-11-18 23:08:20 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-11-18 23:08:20 +0100 |
commit | ac5de156ae5de8cb61870469863fb862b6a1205e (patch) | |
tree | b1c13b61c7d3a66e1879f4b3eca28ae8f471e970 /tests/guix-download.sh | |
parent | e900c5031f4ecf5ac3f131a908a2616871793f8c (diff) | |
download | guix-ac5de156ae5de8cb61870469863fb862b6a1205e.tar guix-ac5de156ae5de8cb61870469863fb862b6a1205e.tar.gz |
guix build: '-e' can be passed a monadic thunk.
* guix/ui.scm (read/eval): New procedure.
(read/eval-package-expression): Use it.
* guix/scripts/build.scm (derivations-from-package-expressions): Rename to...
(derivation-from-expression): ... this. Accept procedures, under the
assumption that they are monadic thunk.
(show-help): Adjust accordingly.
(guix-build): Ditto.
* tests/guix-build.sh: Add test.
* doc/guix.texi (Invoking guix build): Augment description of '-e'.
Diffstat (limited to 'tests/guix-download.sh')
0 files changed, 0 insertions, 0 deletions