(address . guix-patches@gnu.org)(name . zimoun)(address . zimon.toutoune@gmail.com)
Dear,
Fixes https://bugs.gnu.org/44928 describing that the 2nd raises an error:
$ guix upgrade foo bar
guix upgrade: error: bar: extraneous argument
And it is not the case with "guix package -u foo bar". I am not convinced by
the patch but after thinking a bit, the 'match' does not seem necessary
because the options are correctly handled by SRFI-37 and any extra term is
potentially an other regexp. The 'opts' is correctly formed and then
"guix-package" does all the job.
Well, I have been too lazy to create something in the test suite; someone
should do. :-) Testing "guix package --upgrade" and "guix upgrade". Maybe a
v2 of this tiny patch? ;-)
Feedback welcome.
All the best,
simon
zimoun (1):
upgrade: Allow several regexps.
guix/scripts/upgrade.scm | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
base-commit: 8ea2d7c2fa4d4ad7b4cf522fa259561beeeda072
--
2.29.2