summary refs log tree commit diff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-11-29 22:49:19 +0100
committerLudovic Courtès <ludo@gnu.org>2015-11-29 22:56:29 +0100
commit26059753aea72d0a2bc51204bad9fe416e7c6536 (patch)
treede81fc9d186fccb5952009650885cc2a1f510f98 /gnu/packages/patches
parent4b7857a48bbd79830697a111b2c027200020d8c3 (diff)
downloadguix-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/packages/patches')
0 files changed, 0 insertions, 0 deletions