summaryrefslogtreecommitdiff
path: root/gnu/packages/education.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-01-03 12:00:16 +0100
committerLudovic Courtès <ludo@gnu.org>2023-01-03 12:25:48 +0100
commit473692b812b4ab4267d9bddad0fb27787d2112ff (patch)
treec87ccb76f48920934cbcacf90e57352e3012d0c8 /gnu/packages/education.scm
parent11235dd85a791ca7c88d964fb1f47ec876b43b4e (diff)
downloadguix-patches-473692b812b4ab4267d9bddad0fb27787d2112ff.tar
guix-patches-473692b812b4ab4267d9bddad0fb27787d2112ff.tar.gz
refresh: Always return an <update-spec> for each command-line option.
This fixes a regression introduced in 8aeccc6240ec45f0bc7bed655e0c8149ae4253eb whereby packages specified via -e, -r, or -m, as well as packages *not* specified on the command line, would all lead to a wrong-type error. Reported by Ricardo Wurmus <rekado@elephly.net> at <https://lists.gnu.org/archive/html/guix-devel/2022-12/msg00311.html>. * guix/scripts/refresh.scm (<update-spec>): Move above. Rename constructor to '%update-spec' and add separate 'update-spec' procedure with optional #:version parameter. (options->update-specs): Always return a list of <update-spec> and update docstring accordingly. Rename 'args-packages' to 'update-specs' and ensure it's a list of <update-spec>; handle 'manifest' arguments here.
Diffstat (limited to 'gnu/packages/education.scm')
0 files changed, 0 insertions, 0 deletions