guix-devel/guix/scripts
Ludovic Courtès 26059753ae refresh: Check updater availability at run time.
This is a followup to b68d2db, which added a check for updaters at
macro-expansion time.  The problem is that, when running 'guix pull',
Guile-JSON is found, so the PyPi updater (say) is added to %UPDATERS,
but then at run time Guile-JSON might be missing.

Reported by orbea on #guix.

* guix/scripts/refresh.scm (maybe-updater): Rewrite as 'syntax-rules'.
Produce code that checks conditions at run time.
(list-updaters): Update docstring.
2015-11-29 22:56:29 +01:00
..
container scripts: container: Fix 'exec' command line parsing. 2015-11-03 18:05:43 -05:00
import import: hackage: Assume current 'ghc' package version. 2015-11-26 18:17:23 +01:00
archive.scm guix archive: Add '--extract'. 2015-10-19 10:10:47 +02:00
authenticate.scm Remove assorted Guile 2.0.5 workarounds. 2015-05-10 11:07:51 +02:00
build.scm guix build: Factorize build log query. 2015-11-29 17:42:01 +01:00
challenge.scm substitute: 'lookup-narinfos' returns exactly a list of narinfos. 2015-10-28 12:04:03 +01:00
container.scm scripts: Add 'container' subcommand. 2015-11-01 18:20:04 -05:00
download.scm guix download: Fail when more than one URL is passed. 2015-11-23 17:48:35 +01:00
edit.scm edit: Honor $VISUAL. 2015-11-11 23:29:20 +01:00
environment.scm environment: Set build options early on. 2015-11-28 21:53:51 +01:00
gc.scm guix gc: Error out when extra arguments are passed. 2015-11-11 23:29:20 +01:00
graph.scm graph: Add '%bag-with-origins-node-type'. 2015-11-23 23:34:15 +01:00
hash.scm Add (guix scripts). 2015-09-18 21:42:06 +03:00
import.scm import: Add 'cran' importer. 2015-08-31 15:39:34 +02:00
lint.scm lint: Do not report already-patched vulnerabilities. 2015-11-28 16:15:31 +01:00
offload.scm offload: Use gzip instead of xz for compression on the master. 2015-09-25 22:35:35 +02:00
package.scm guix package: Reduce startup time by ~50%. 2015-11-24 18:19:25 +01:00
publish.scm publish: Fix file descriptor leak. 2015-10-06 23:51:04 +02:00
pull.scm utils: Add 'switch-symlinks', moved from (guix ui). 2015-10-27 00:01:20 +01:00
refresh.scm refresh: Check updater availability at run time. 2015-11-29 22:56:29 +01:00
size.scm store: Use the daemon's substitute URLs by default. 2015-10-28 15:31:44 +01:00
substitute.scm substitute: Warn upon store prefix mismatches. 2015-11-28 00:02:23 +01:00
system.scm Add (guix graph). 2015-11-21 16:26:43 +01:00