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 ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
import import: Add JSON importer. 2017-09-28 13:10:11 +02:00
system guix system: search: Display all provision names as 'shepherdnames'. 2018-05-01 23:29:03 +02:00
archive.scm scripts: All commands enable build hooks by default. 2017-12-07 23:12:37 +01:00
authenticate.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
build.scm guix build: Nicely report unbound variables with hints. 2018-05-04 15:07:08 +02:00
challenge.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
container.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
copy.scm scripts: All commands enable build hooks by default. 2017-12-07 23:12:37 +01:00
download.scm Add (guix progress). 2017-10-19 23:21:49 +02:00
edit.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
environment.scm guix environment: load manifest files like "guix package" does 2018-03-27 23:26:15 +02:00
gc.scm guix gc: Add '--derivers'. 2018-03-27 14:51:44 +02:00
graph.scm graph: Add "module" node type. 2018-03-27 14:51:44 +02:00
hash.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
import.scm import: Add JSON importer. 2017-09-28 13:10:11 +02:00
lint.scm lint: 'check-vulnerabilities' also checks package properties. 2017-12-10 21:59:07 +02:00
offload.scm offload: Look at machine loads for the past minute. 2018-01-15 23:29:33 +01:00
pack.scm guix: Rewrite build-docker-image to allow more paths. 2018-03-24 03:04:10 +01:00
package.scm guix package: Add '--allow-collisions'. 2018-03-31 23:30:50 +02:00
perform-download.scm derivations: Introduce 'read-derivation-from-file'. 2017-06-12 17:53:51 +02:00
publish.scm publish: Restore gzip compression in cache-less mode. 2018-01-22 11:15:50 +01:00
pull.scm scripts: All commands enable build hooks by default. 2017-12-07 23:12:37 +01:00
refresh.scm refresh: Account for hidden packages. 2017-11-07 00:12:10 +01:00
size.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
substitute.scm build: Require Guile >= 2.0.13. 2018-02-26 18:19:34 +01:00
system.scm guix system: Report wrong file system 'device' fields. 2018-04-27 18:45:02 +02:00
weather.scm weather: Fix type error when reporting CI stats. 2018-04-30 23:41:21 +02:00