diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-11-29 22:49:19 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-11-29 22:56:29 +0100 |
commit | 26059753aea72d0a2bc51204bad9fe416e7c6536 (patch) | |
tree | de81fc9d186fccb5952009650885cc2a1f510f98 /gnu-system.am | |
parent | 4b7857a48bbd79830697a111b2c027200020d8c3 (diff) | |
download | gnu-guix-26059753aea72d0a2bc51204bad9fe416e7c6536.tar gnu-guix-26059753aea72d0a2bc51204bad9fe416e7c6536.tar.gz |
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.
Diffstat (limited to 'gnu-system.am')
0 files changed, 0 insertions, 0 deletions