diff options
author | Andy Patterson <ajpatter@uwaterloo.ca> | 2017-04-03 09:01:32 -0400 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-05-16 15:18:15 +0200 |
commit | b9afcb9ed4547e600b7bc89d0fbf0d8453dc2b3b (patch) | |
tree | 90ac379e3eb6ee6352a8c8bf40c0e91307de8c47 /guix/discovery.scm | |
parent | ac2592536da282db7b15da8e13a965e26a300feb (diff) | |
download | guix-patches-b9afcb9ed4547e600b7bc89d0fbf0d8453dc2b3b.tar guix-patches-b9afcb9ed4547e600b7bc89d0fbf0d8453dc2b3b.tar.gz |
build-system/asdf: Simplify the use of lisp-eval-program.
Accept a list of statements, each run within its own `--eval' argument. This
allows statements to use reader package namespacing after a package has been
loaded.
* guix/build/lisp-utils.scm (spread-statements): New procedure.
(lisp-invoke): Rename to ...
(lisp-invocation): ... this. Use spread-statements. Change interface to accept
list of statements instead of a single statement.
(asdf-load-all-systems): Simplify returned statements.
(compile-system): Simplify the program passed to `lisp-eval-program'.
(test-system): Likewise.
(generate-executable-for-system): Likewise. Accept the full symbol describing
the asdf operation to use.
(generate-executable): Document the change.
(build-program, build-image): Use the new interface.
Diffstat (limited to 'guix/discovery.scm')
0 files changed, 0 insertions, 0 deletions