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: emacs-utils: Fail when byte compilation fails. 2018-05-03 21:48:59 +05:30
build-system build-system: emacs: Add improved check phase. 2018-04-20 00:49:53 +05:30
import Correct name and Email for ng0. 2018-03-20 17:17:58 +01:00
scripts guix build: Nicely report unbound variables with hints. 2018-05-04 15:07:08 +02:00
store store: Support 'ssh://' URIs in 'GUIX_DAEMON_SOCKET'. 2017-04-21 19:17:36 +02:00
tests tests: Support multiple HTTP server instances. 2017-10-12 23:47:48 +02:00
base16.scm utils: Move base16 procedures to (guix base16). 2017-03-16 22:50:14 +01:00
base32.scm base32: Export the base32 charsets. 2017-07-21 17:03:24 +02:00
base64.scm base64: Turn into a regular Guile module. 2017-05-25 14:25:17 +02:00
build-system.scm
cache.scm cache: Work around 'time-monotonic' bug in Guile 2.2.2. 2017-04-22 14:42:15 +02:00
ci.scm Add (guix ci). 2018-03-28 16:17:06 +02:00
combinators.scm Add (guix memoization). 2017-01-28 18:55:20 +01:00
config.scm.in
cpio.scm
cve.scm cve: Use 'http-fetch/cached' instead of having custom caching. 2017-11-16 08:45:15 +01:00
cvs-download.scm download: Download a nar when a VCS checkout fails. 2017-10-19 23:21:49 +02:00
derivations.scm derivations: Fix typo in docstring. 2018-01-11 00:00:03 +01:00
discovery.scm discovery: Remove dependency on (guix ui). 2018-04-08 17:48:33 +02:00
docker.scm guix: Rewrite build-docker-image to allow more paths. 2018-03-24 03:04:10 +01:00
download.scm download: Use ungrafted tools in 'url-fetch/tarbomb' and 'url-fetch/zipbomb'. 2018-04-23 15:25:56 +02:00
elf.scm
ftp-client.scm download: Pass the timeout to 'ftp-retr'. 2017-11-14 23:46:53 +01:00
gcrypt.scm
gexp.scm gexp: 'scheme-file' can splice expressions. 2018-04-11 01:03:47 +02:00
git-download.scm git-download: Fix recursive checkouts. 2018-03-18 20:00:44 -05:00
git.scm git: Increase modularity and expose 'update-cached-checkout'. 2018-04-02 23:16:30 +02:00
glob.scm glob: Add an extra glob pattern compilation stage. 2018-03-18 22:57:17 +01:00
gnu-maintenance.scm gnu-maintenance: 'latest-ftp-release' ignores "unstable" directories. 2017-12-17 16:52:27 +01:00
gnupg.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
grafts.scm derivations: Introduce 'read-derivation-from-file'. 2017-06-12 17:53:51 +02:00
graph.scm Revert "graph: Provide access to the package record in the emit functions." 2017-08-24 23:55:51 +02:00
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 build: Require Guile >= 2.0.13. 2018-02-26 18:19:34 +01:00
i18n.scm ui: Introduce (guix i18n). 2017-11-08 22:31:58 +01:00
licenses.scm Correct name and Email for ng0. 2018-03-20 17:17:58 +01:00
man-db.scm guix: Exclude broken symlinks from man files. 2017-12-22 00:06:37 +01:00
memoization.scm memoization: Add 'invalidate-memoization!. 2017-12-13 23:11:53 +01:00
modules.scm modules: Report the search path in &missing-dependency-error. 2018-04-08 17:41:08 +02:00
monad-repl.scm
monads.scm monads: Add a template and specialization mechanism for monadic procedures. 2017-05-02 23:41:13 +02:00
nar.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
packages.scm Merge branch 'master' into core-updates 2018-01-19 23:59:20 -05:00
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 profiles: 'manifest-add' truly deletes duplicate entries. 2018-03-01 14:00:21 +01:00
profiling.scm Add (guix profiling). 2017-12-12 18:11:22 +01:00
progress.scm progress: Rename 'erase-in-line' to 'erase-current-line'. 2017-12-15 11:53:21 +01:00
records.scm records: Use 'make-struct/no-tail'. 2017-12-01 18:47:34 +01:00
scripts.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
search-paths.scm search-paths: Allow specs with #f as their separator. 2017-01-23 22:23:41 +01:00
self.scm self: Produce a spliced (guix config) to placate Guile 2.0. 2018-04-11 01:03:47 +02:00
serialization.scm store: Fix potential over-reads in 'import-paths'. 2018-01-11 00:00:02 +01:00
sets.scm
ssh.scm ssh: Work around 'select' bug in Guile. 2018-02-09 11:23:27 +01:00
store.scm store: Fix potential over-reads in 'import-paths'. 2018-01-11 00:00:02 +01:00
svn-download.scm guix: Add download-svn-to-store. 2017-06-15 17:03:14 +02:00
tests.scm store: 'GUIX_DAEMON_SOCKET' can now be a URI. 2017-04-21 17:23:37 +02:00
ui.scm guix build: Nicely report unbound variables with hints. 2018-05-04 15:07:08 +02:00
upstream.scm discovery: Remove dependency on (guix ui). 2018-04-08 17:48:33 +02:00
utils.scm guix: utils: Add version-major. 2017-12-11 19:12:23 +00:00
workers.scm workers: Display backtrace in pre-unwind handler. 2017-11-17 10:47:56 +01:00
zlib.scm zlib: Fix race condition when closing gzip ports. 2017-11-19 23:09:01 +01:00