guix-play/guix/scripts
Ludovic Courtès 473692b812
refresh: Always return an <update-spec> for each command-line option.
This fixes a regression introduced in
8aeccc6240 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.
2023-01-03 12:25:48 +01:00
..
container
git
home home: import: Use (guix read-print) to render the config file. 2022-09-20 19:24:31 +02:00
import import/cran: Allow custom license prefix. 2022-12-31 14:48:46 +01:00
system reconfigure: Use SRFI-71 instead of SRFI-11. 2022-11-22 09:43:54 +01:00
archive.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
authenticate.scm
build.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
challenge.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
container.scm
copy.scm
deploy.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
describe.scm scripts: describe: Add branch information to recutils output. 2022-11-19 19:54:15 +01:00
discover.scm
download.scm
edit.scm edit: Extract 'spawn-editor' procedure. 2022-06-04 12:04:24 +02:00
environment.scm environment: '-C' doesn't throw when the NSS is dysfunctional. 2022-12-09 08:46:21 +01:00
gc.scm guix gc: Add '--vacuum-database'. 2022-11-06 14:02:08 +02:00
git.scm
graph.scm scripts: Add --list-systems and --list-targets options. 2022-05-22 15:15:33 +02:00
hash.scm guix hash: Allow '-r' as a non-deprecated alias. 2022-01-10 19:31:02 +01:00
home.scm scripts: Use translations for guix.pot for service descriptions. 2022-11-20 16:01:08 +01:00
import.scm guix import: Add a blank line after each package definition. 2022-10-11 16:05:31 +02:00
install.scm
lint.scm lint: Add '-e'. 2022-08-08 11:22:31 +02:00
offload.scm offload: Increase default 'overload-threshold' value. 2022-11-23 19:34:42 +01:00
pack.scm pack: Remove use of GOOPS in 'deb' backend. 2022-11-19 19:54:14 +01:00
package.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
perform-download.scm
processes.scm
publish.scm publish: Send uncached narinfo replies from the main thread. 2022-04-29 18:07:17 +02:00
pull.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
refresh.scm refresh: Always return an <update-spec> for each command-line option. 2023-01-03 12:25:48 +01:00
remove.scm
repl.scm
search.scm
shell.scm shell: Make --help show --system and --list-systems. 2022-12-26 00:30:50 +01:00
show.scm
size.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
style.scm style: '-f' reads input files as UTF-8 by default. 2022-11-20 23:20:31 +01:00
substitute.scm substitute: Fix typo in 'open-connection-for-uri/cached' docstring. 2022-12-05 15:50:23 +01:00
system.scm guix system: Skip initrd modules check when using --target. 2022-12-21 14:22:13 -05:00
time-machine.scm
upgrade.scm
weather.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00