guix-devel/guix/scripts
Ludovic Courtès 2d2f98efb3
guix build: Nicely report unbound variables with hints.
* guix/ui.scm (print-unbound-variable-error): Add "error:" to the
message.
(report-unbound-variable-error): New procedure, with code formerly in
'report-load-error'.
(report-load-error): Use it.
(call-with-unbound-variable-handling): New procedure.
(with-unbound-variable-handling): New macro.
* guix/scripts/build.scm (options->derivations): Wrap body in
'with-unbound-variable-handling'.
* tests/guix-build.sh (GUIX_PACKAGE_PATH): Add test.
2018-05-04 15:07:08 +02:00
..
container
import
system
archive.scm
authenticate.scm
build.scm guix build: Nicely report unbound variables with hints. 2018-05-04 15:07:08 +02:00
challenge.scm
container.scm
copy.scm
download.scm
edit.scm
environment.scm
gc.scm
graph.scm
hash.scm
import.scm
lint.scm
offload.scm
pack.scm
package.scm
perform-download.scm
publish.scm
pull.scm
refresh.scm
size.scm
substitute.scm
system.scm
weather.scm