guix-devel/guix
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
..
build
build-system
import
scripts guix build: Nicely report unbound variables with hints. 2018-05-04 15:07:08 +02:00
store
tests
base16.scm utils: Move base16 procedures to (guix base16). 2017-03-16 22:50:14 +01:00
base32.scm
base64.scm base64: Turn into a regular Guile module. 2017-05-25 14:25:17 +02:00
build-system.scm
cache.scm
ci.scm
combinators.scm
config.scm.in
cpio.scm
cve.scm
cvs-download.scm
derivations.scm
discovery.scm
docker.scm
download.scm
elf.scm elf: Add missing argument in 'elf-segment'. 2015-03-30 15:21:11 +02:00
ftp-client.scm
gcrypt.scm
gexp.scm
git-download.scm
git.scm
glob.scm
gnu-maintenance.scm
gnupg.scm
grafts.scm
graph.scm
hash.scm hash: Add 'sha1'. 2018-03-08 11:56:20 +01:00
hg-download.scm download: Download a nar when a VCS checkout fails. 2017-10-19 23:21:49 +02:00
http-client.scm
i18n.scm
licenses.scm
man-db.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm
packages.scm
pk-crypto.scm publish: The public and private keys are now SRFI-39 parameters. 2017-03-22 14:05:59 +01:00
pki.scm
profiles.scm
profiling.scm
progress.scm
records.scm
scripts.scm
search-paths.scm
self.scm self: Produce a spliced (guix config) to placate Guile 2.0. 2018-04-11 01:03:47 +02:00
serialization.scm
sets.scm Add (guix sets). 2015-01-11 23:50:01 +01:00
ssh.scm
store.scm
svn-download.scm
tests.scm
ui.scm guix build: Nicely report unbound variables with hints. 2018-05-04 15:07:08 +02:00
upstream.scm
utils.scm
workers.scm
zlib.scm