[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62577] [PATCH] refresh: Support select packages SUBSET by module na
From: |
Ludovic Courtès |
Subject: |
[bug#62577] [PATCH] refresh: Support select packages SUBSET by module name. |
Date: |
Sat, 08 Apr 2023 23:27:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi,
iyzsong@envs.net skribis:
> From: 宋文武 <iyzsong@member.fsf.org>
>
> * guix/scripts/refresh.scm (%options): Support '--select module:NAME'.
> (show-help): Adjust accordingly.
> (options->update-specs): Honor the module passed by '--select'.
That looks very useful!
Could you also update ‘doc/guix.texi’?
> + ((? (cut string-prefix? "module:" <>))
> + (alist-cons 'select
> + (cons 'module
> + (string->symbol
> + (string-drop
> + arg (string-length "module:"))))
> + result))
Perhaps this should support both full module names:
module:(past packages autotools)
and:
module:guile
where the latter is short for “module:(gnu packages guile)”.
WDYT?
Otherwise LGTM.
Could you send an updated version?
Thanks,
Ludo’.