projects/guix·blob python-team · refs

1050 lines · 75.7 KiB

1# GNU Guix --- Functional package management for GNU
2# Copyright © 2017, 2018 Nikita <[email protected]>
3# Copyright © 2025 Hilton Chain <[email protected]>
4#
5# This file is part of GNU Guix.
6#
7# GNU Guix is free software; you can redistribute it and/or modify it
8# under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 3 of the License, or (at
10# your option) any later version.
11#
12# GNU Guix is distributed in the hope that it will be useful, but
13# WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19
20# FIXME: Fish doesn't support GNU-style long options.
21# Completions in this file add ‘=’ suffixes for visual indication, but they
22# will complete ‘--load-path= ’ instead of ‘--load-path=’, for example.
23
24function __fish_guix_needs_command
25 set cmd (commandline -opc)
26 if [ (count $cmd) -eq 1 ]
27 return 0
28 else
29 set -l skip_next 1
30 # Skip first word because it's "guix"
31 for c in $cmd[2..-1]
32 test $skip_next -eq 0
33 and set skip_next 1
34 and continue
35 switch $c
36 # General options that can still take a command
37 case "=*"
38 continue
39 # case --asdf
40 # set skip_next 0
41 # continue
42 # these behave like commands and everything after them is ignored
43 case "--help" "--version"
44 return 1
45 # We assume that any other token that's not an argument to a general option is a command
46 case "*"
47 echo $c
48 return 1
49 end
50 end
51 return 0
52 end
53 return 1
54end
55
56function __fish_guix_using_command
57 set -l cmd (__fish_guix_needs_command)
58 test -z "$cmd"
59 and return 1
60 contains -- $cmd $argv
61 and return 0
62end
63
64function __fish_guix_complete_subcommand
65 # Support nested ‘guix shell’, ‘guix deploy’, ‘guix time-machine’ etc.
66 set -l time_machine
67 set -l tokens (commandline -opc)
68 while true
69 set -l index (contains -i -- "--" $tokens)
70 if [ -z "$index" ]
71 break
72 end
73 set time_machine (contains -i -- "time-machine" $tokens[1..$index])
74 set -e tokens[1..$index]
75 end
76 if [ -n "$time_machine" ]
77 complete -C "guix $tokens $(commandline -ct)"
78 else
79 complete -C "$tokens $(commandline -ct)"
80 end
81end
82
83set -l guix_substitute_urls "https://bordeaux.guix.gnu.org https://ci.guix.gnu.org"
84
85complete -f -c guix -s h -l help -d "display help message"
86complete -f -c guix -s V -l version -d "display version information"
87
88
89# Generate option lists and simple completions, which may take too long to
90# compute at run time.
91#
92# echo set -l guix_build_systems \\
93# for command in $(command guix build --list-systems | string match -rg '^ - ([a-z0-9-_]+)')
94# echo " $command \\"
95# end
96# echo set -l guix_build_targets \\
97# for command in $(command guix build --list-targets | string match -rg '^ - ([a-z0-9-_]+)')
98# echo " $command \\"
99# end
100# echo set -l guix_describe_formats \\
101# for command in $(guix describe --list-formats | string match -rg '^ - ([a-z0-9-_]+)')
102# echo " $command \\"
103# end
104# echo set -l guix_graph_backends \\
105# for command in $(guix graph --list-backends | string match -rg '^ - ([a-z0-9-_]+)')
106# echo " $command \\"
107# end
108# echo set -l guix_graph_types \\
109# for command in $(guix graph --list-types | string match -rg '^ - ([a-z0-9-_]+)')
110# echo " $command \\"
111# end
112# echo set -l guix_image_types \\
113# for type in $(guix system --list-image-types | string match -rg "^ - ([a-z0-9-_]+)")
114# echo " $type \\"
115# end
116# echo set -l guix_importers \\
117# for importer in $(command guix import --help | string match -rg '^ ([a-z0-9-_]+)')
118# echo " $importer \\"
119# end
120# echo set -l guix_lint_checker \\
121# for checker in $(guix lint --list-checkers | string match -rg "^- ([a-z0-9-_]+):")
122# echo " $checker \\"
123# end
124# echo set -l guix_pack_formats \\
125# for format in $(guix pack --list-formats | string match -rg "^ ([a-z0-9-_]+)")
126# echo " $format \\"
127# end
128# echo set -l guix_processes_formats \\
129# for format in $(guix processes --list-formats | string match -rg '^ - ([a-z0-9-_]*)')
130# echo " $format \\"
131# end
132# echo set -l guix_refresh_updaters \\
133# for updater in $(guix refresh --list-updaters | string match -rg "^ - ([a-z0-9-_]+):")
134# echo " $updater \\"
135# end
136# echo set -l guix_repl_types \\
137# for type in $(guix repl --list-types)
138# echo " $type \\"
139# end
140# echo set -l guix_style_stylings \\
141# for styling in $(guix style --list-stylings | string match -rg "^- ([a-z0-9-_]+):")
142# echo " $styling \\"
143# end
144# echo set -l guix_commands \\
145# for command in $(command guix --help | string match -rg '^ ([a-z0-9-]+)')
146# echo " $command \\"
147# end
148# for command in $(command guix --help | string match -rg '^ ([a-z0-9-]+)')
149# echo "complete -f -c guix -n \"__fish_guix_needs_command\" -a \"$command\" -d \"$(guix --help | string match -rg "^ $command +(.*)")\""
150# end
151# echo set -l guix_system_commands \\
152# for command in $(command guix system --help | string match -rg '^ ([a-z0-9-]+)')
153# echo " $command \\"
154# end
155# for command in $(command guix system --help | string match -rg '^ ([a-z0-9-]+)')
156# echo "complete -f -c guix -n \"__fish_guix_using_command system; and not __fish_seen_subcommand_from \$guix_system_commands\" -a \"$command\" -d \"$(guix system --help | string match -rg "^ $command +(.*)")\""
157# end
158# echo set -l guix_home_commands \\
159# for command in $(command guix home --help | string match -rg '^ ([a-z0-9-]+)')
160# echo " $command \\"
161# end
162# for command in $(command guix home --help | string match -rg '^ ([a-z0-9-]+)')
163# echo "complete -f -c guix -n \"__fish_guix_using_command home; and not __fish_seen_subcommand_from \$guix_home_commands\" -a \"$command\" -d \"$(echo $(guix home --help | string match -rg "^ $command +(.*)"))\""
164# end
165
166# Generated output
167set -l guix_build_systems \
168 aarch64-linux \
169 armhf-linux \
170 i586-gnu \
171 i686-linux \
172 mips64el-linux \
173 powerpc-linux \
174 powerpc64le-linux \
175 riscv64-linux \
176 x86_64-gnu \
177 x86_64-linux
178set -l guix_build_targets \
179 aarch64-linux-gnu \
180 arm-linux-gnueabihf \
181 avr \
182 i586-pc-gnu \
183 i686-linux-gnu \
184 i686-w64-mingw32 \
185 loongarch64-linux-gnu \
186 mips64el-linux-gnu \
187 or1k-elf \
188 powerpc-linux-gnu \
189 powerpc64-linux-gnu \
190 powerpc64le-linux-gnu \
191 riscv64-linux-gnu \
192 x86_64-linux-gnu \
193 x86_64-linux-gnux32 \
194 x86_64-pc-gnu \
195 x86_64-w64-mingw32 \
196 xtensa-ath9k-elf
197set -l guix_describe_formats \
198 human \
199 channels \
200 channels-sans-intro \
201 json \
202 recutils
203set -l guix_graph_backends \
204 graphviz \
205 d3js \
206 cypher \
207 graphml \
208 cyclonedx-json
209set -l guix_graph_types \
210 package \
211 reverse-package \
212 bag \
213 bag-with-origins \
214 bag-emerged \
215 reverse-bag \
216 derivation \
217 references \
218 referrers \
219 module
220set -l guix_image_types \
221 a20-olinuxino-lime2-raw \
222 am335x-evm-raw \
223 docker \
224 efi-raw \
225 efi32-raw \
226 hurd-qcow2 \
227 hurd-raw \
228 hurd64-qcow2 \
229 hurd64-raw \
230 iso9660 \
231 mbr-hybrid-raw \
232 mbr-raw \
233 novena-raw \
234 orangepi-r1-plus-lts-rk3328-raw \
235 pine64-raw \
236 pinebook-pro-raw \
237 qcow2 \
238 qcow2-gpt \
239 raw-with-offset \
240 rock-4c-plus-raw \
241 rock64-raw \
242 tarball \
243 uncompressed-iso9660 \
244 unmatched-raw \
245 visionfive2-raw \
246 wsl2
247set -l guix_importers \
248 composer \
249 cpan \
250 cran \
251 crate \
252 egg \
253 elm \
254 elpa \
255 gem \
256 gnu \
257 go \
258 hackage \
259 hexpm \
260 json \
261 luanti \
262 minetest \
263 npm-binary \
264 nuget \
265 opam \
266 pypi \
267 stackage \
268 texlive
269set -l guix_lint_checker \
270 name \
271 tests-true \
272 compiler-for-target \
273 description \
274 inputs-should-be-native \
275 inputs-should-not-be-input \
276 inputs-should-be-minimal \
277 input-labels \
278 wrapper-inputs \
279 license \
280 optional-tests \
281 mirror-url \
282 source-file-name \
283 source-unstable-tarball \
284 misplaced-flags \
285 derivation \
286 profile-collisions \
287 patch-file-names \
288 patch-headers \
289 formatting \
290 synopsis \
291 gnu-description \
292 home-page \
293 source \
294 github-url \
295 cve \
296 refresh \
297 archival \
298 haskell-stackage
299set -l guix_pack_formats \
300 tarball \
301 squashfs \
302 docker \
303 deb \
304 rpm \
305 appimage
306set -l guix_processes_formats \
307 recutils \
308 normalized
309set -l guix_refresh_updaters \
310 apache \
311 bioconductor \
312 composer \
313 cpan \
314 cran \
315 crate \
316 egg \
317 elpa \
318 gem \
319 github \
320 gnome \
321 gnu \
322 gnu-ftp \
323 hackage \
324 hexpm \
325 kde \
326 launchpad \
327 luanti \
328 opam \
329 pypi \
330 savannah \
331 sourceforge \
332 stackage \
333 test \
334 texlive \
335 xorg \
336 generic-git \
337 generic-html
338set -l guix_repl_types \
339 guile \
340 machine
341set -l guix_style_stylings \
342 format \
343 inputs \
344 arguments \
345 git-source
346set -l guix_commands \
347 deploy \
348 describe \
349 gc \
350 home \
351 install \
352 locate \
353 package \
354 pull \
355 remove \
356 search \
357 show \
358 system \
359 time-machine \
360 upgrade \
361 weather \
362 container \
363 environment \
364 pack \
365 shell \
366 build \
367 challenge \
368 download \
369 edit \
370 graph \
371 hash \
372 import \
373 lint \
374 publish \
375 refresh \
376 size \
377 style \
378 archive \
379 copy \
380 git \
381 offload \
382 processes \
383 repl
384complete -f -c guix -n "__fish_guix_needs_command" -a "deploy" -d "deploy operating systems on a set of machines"
385complete -f -c guix -n "__fish_guix_needs_command" -a "describe" -d "describe the channel revisions currently used"
386complete -f -c guix -n "__fish_guix_needs_command" -a "gc" -d "invoke the garbage collector"
387complete -f -c guix -n "__fish_guix_needs_command" -a "home" -d "build and deploy home environments"
388complete -f -c guix -n "__fish_guix_needs_command" -a "install" -d "install packages"
389complete -f -c guix -n "__fish_guix_needs_command" -a "locate" -d "search for packages providing a given file"
390complete -f -c guix -n "__fish_guix_needs_command" -a "package" -d "manage packages and profiles"
391complete -f -c guix -n "__fish_guix_needs_command" -a "pull" -d "pull the latest revision of Guix"
392complete -f -c guix -n "__fish_guix_needs_command" -a "remove" -d "remove installed packages"
393complete -f -c guix -n "__fish_guix_needs_command" -a "search" -d "search for packages"
394complete -f -c guix -n "__fish_guix_needs_command" -a "show" -d "show information about packages"
395complete -f -c guix -n "__fish_guix_needs_command" -a "system" -d "build and deploy full operating systems"
396complete -f -c guix -n "__fish_guix_needs_command" -a "time-machine" -d "run commands from a different revision"
397complete -f -c guix -n "__fish_guix_needs_command" -a "upgrade" -d "upgrade packages to their latest version"
398complete -f -c guix -n "__fish_guix_needs_command" -a "weather" -d "report on the availability of pre-built package binaries"
399complete -f -c guix -n "__fish_guix_needs_command" -a "container" -d "run code in containers created by 'guix environment -C'"
400complete -f -c guix -n "__fish_guix_needs_command" -a "environment" -d "spawn one-off software environments (deprecated)"
401complete -f -c guix -n "__fish_guix_needs_command" -a "pack" -d "create application bundles"
402complete -f -c guix -n "__fish_guix_needs_command" -a "shell" -d "spawn one-off software environments"
403complete -f -c guix -n "__fish_guix_needs_command" -a "build" -d "build packages or derivations without installing them"
404complete -f -c guix -n "__fish_guix_needs_command" -a "challenge" -d "challenge substitute servers, comparing their binaries"
405complete -f -c guix -n "__fish_guix_needs_command" -a "download" -d "download a file to the store and print its hash"
406complete -f -c guix -n "__fish_guix_needs_command" -a "edit" -d "view and edit package definitions"
407complete -f -c guix -n "__fish_guix_needs_command" -a "graph" -d "view and query package dependency graphs"
408complete -f -c guix -n "__fish_guix_needs_command" -a "hash" -d "compute the cryptographic hash of a file"
409complete -f -c guix -n "__fish_guix_needs_command" -a "import" -d "import a package definition from an external repository"
410complete -f -c guix -n "__fish_guix_needs_command" -a "lint" -d "validate package definitions"
411complete -f -c guix -n "__fish_guix_needs_command" -a "publish" -d "publish build results over HTTP"
412complete -f -c guix -n "__fish_guix_needs_command" -a "refresh" -d "update existing package definitions"
413complete -f -c guix -n "__fish_guix_needs_command" -a "size" -d "profile the on-disk size of packages"
414complete -f -c guix -n "__fish_guix_needs_command" -a "style" -d "update the style of package definitions"
415complete -f -c guix -n "__fish_guix_needs_command" -a "archive" -d "manipulate, export, and import normalized archives (nars)"
416complete -f -c guix -n "__fish_guix_needs_command" -a "copy" -d "copy store items remotely over SSH"
417complete -f -c guix -n "__fish_guix_needs_command" -a "git" -d "operate on Git repositories"
418complete -f -c guix -n "__fish_guix_needs_command" -a "offload" -d "set up and operate build offloading"
419complete -f -c guix -n "__fish_guix_needs_command" -a "processes" -d "list currently running sessions"
420complete -f -c guix -n "__fish_guix_needs_command" -a "repl" -d "read-eval-print loop (REPL) for interactive programming"
421set -l guix_system_commands \
422 search \
423 edit \
424 reconfigure \
425 roll-back \
426 describe \
427 list-generations \
428 switch-generation \
429 delete-generations \
430 build \
431 container \
432 vm \
433 image \
434 docker-image \
435 init \
436 installer \
437 extension-graph \
438 shepherd-graph
439complete -f -c guix -n "__fish_guix_using_command system; and not __fish_seen_subcommand_from $guix_system_commands" -a "search" -d "search for existing service types"
440complete -f -c guix -n "__fish_guix_using_command system; and not __fish_seen_subcommand_from $guix_system_commands" -a "edit" -d "edit the definition of an existing service type"
441complete -f -c guix -n "__fish_guix_using_command system; and not __fish_seen_subcommand_from $guix_system_commands" -a "reconfigure" -d "switch to a new operating system configuration"
442complete -f -c guix -n "__fish_guix_using_command system; and not __fish_seen_subcommand_from $guix_system_commands" -a "roll-back" -d "switch to the previous operating system configuration"
443complete -f -c guix -n "__fish_guix_using_command system; and not __fish_seen_subcommand_from $guix_system_commands" -a "describe" -d "describe the current system"
444complete -f -c guix -n "__fish_guix_using_command system; and not __fish_seen_subcommand_from $guix_system_commands" -a "list-generations" -d "list the system generations"
445complete -f -c guix -n "__fish_guix_using_command system; and not __fish_seen_subcommand_from $guix_system_commands" -a "switch-generation" -d "switch to an existing operating system configuration"
446complete -f -c guix -n "__fish_guix_using_command system; and not __fish_seen_subcommand_from $guix_system_commands" -a "delete-generations" -d "delete old system generations"
447complete -f -c guix -n "__fish_guix_using_command system; and not __fish_seen_subcommand_from $guix_system_commands" -a "build" -d "build the operating system without installing anything"
448complete -f -c guix -n "__fish_guix_using_command system; and not __fish_seen_subcommand_from $guix_system_commands" -a "container" -d "build a container that shares the host's store"
449complete -f -c guix -n "__fish_guix_using_command system; and not __fish_seen_subcommand_from $guix_system_commands" -a "vm" -d "build a virtual machine image that shares the host's store"
450complete -f -c guix -n "__fish_guix_using_command system; and not __fish_seen_subcommand_from $guix_system_commands" -a "image" -d "build a Guix System image"
451complete -f -c guix -n "__fish_guix_using_command system; and not __fish_seen_subcommand_from $guix_system_commands" -a "docker-image" -d "build a Docker image"
452complete -f -c guix -n "__fish_guix_using_command system; and not __fish_seen_subcommand_from $guix_system_commands" -a "init" -d "initialize a root file system to run GNU"
453complete -f -c guix -n "__fish_guix_using_command system; and not __fish_seen_subcommand_from $guix_system_commands" -a "installer" -d "run the graphical installer"
454complete -f -c guix -n "__fish_guix_using_command system; and not __fish_seen_subcommand_from $guix_system_commands" -a "extension-graph" -d "emit the service extension graph in Dot format"
455complete -f -c guix -n "__fish_guix_using_command system; and not __fish_seen_subcommand_from $guix_system_commands" -a "shepherd-graph" -d "emit the graph of shepherd services in Dot format"
456set -l guix_home_commands \
457 search \
458 edit \
459 container \
460 reconfigure \
461 roll-back \
462 describe \
463 list-generations \
464 switch-generation \
465 delete-generations \
466 build \
467 import \
468 extension-graph \
469 shepherd-graph
470complete -f -c guix -n "__fish_guix_using_command home; and not __fish_seen_subcommand_from $guix_home_commands" -a "search" -d "search for existing service types"
471complete -f -c guix -n "__fish_guix_using_command home; and not __fish_seen_subcommand_from $guix_home_commands" -a "edit" -d "edit the definition of an existing service type"
472complete -f -c guix -n "__fish_guix_using_command home; and not __fish_seen_subcommand_from $guix_home_commands" -a "container" -d "run the home environment configuration in a container"
473complete -f -c guix -n "__fish_guix_using_command home; and not __fish_seen_subcommand_from $guix_home_commands" -a "reconfigure" -d "switch to a new home environment configuration"
474complete -f -c guix -n "__fish_guix_using_command home; and not __fish_seen_subcommand_from $guix_home_commands" -a "roll-back" -d "switch to the previous home environment configuration"
475complete -f -c guix -n "__fish_guix_using_command home; and not __fish_seen_subcommand_from $guix_home_commands" -a "describe" -d "describe the current home environment"
476complete -f -c guix -n "__fish_guix_using_command home; and not __fish_seen_subcommand_from $guix_home_commands" -a "list-generations" -d "list the home environment generations"
477complete -f -c guix -n "__fish_guix_using_command home; and not __fish_seen_subcommand_from $guix_home_commands" -a "switch-generation" -d "switch to an existing home environment configuration"
478complete -f -c guix -n "__fish_guix_using_command home; and not __fish_seen_subcommand_from $guix_home_commands" -a "delete-generations" -d "delete old home environment generations"
479complete -f -c guix -n "__fish_guix_using_command home; and not __fish_seen_subcommand_from $guix_home_commands" -a "build" -d "build the home environment without installing anything"
480complete -f -c guix -n "__fish_guix_using_command home; and not __fish_seen_subcommand_from $guix_home_commands" -a "import" -d "generates a home environment definition from dotfiles"
481complete -f -c guix -n "__fish_guix_using_command home; and not __fish_seen_subcommand_from $guix_home_commands" -a "extension-graph" -d "emit the service extension graph"
482complete -f -c guix -n "__fish_guix_using_command home; and not __fish_seen_subcommand_from $guix_home_commands" -a "shepherd-graph" -d "emit the graph of shepherd services"
483
484
485# Standard build options
486set -l guix_commands_with_build_options \
487 archive \
488 build \
489 copy \
490 deploy \
491 environment \
492 home \
493 install \
494 pack \
495 package \
496 pull \
497 shell \
498 system \
499 time-machine \
500 upgrade
501
502complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_build_options" -s L -l load-path= -d "prepend DIR to the package module search path" -a "(__fish_complete_directories)"
503complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_build_options" -s K -l keep-failed -d "keep build tree of failed builds"
504complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_build_options" -s k -l keep-going -d "keep going when some of the derivations fail"
505complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_build_options" -l rounds= -d "build N times in a row to detect non-determinism"
506complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_build_options" -l fallback -d "fall back to building when the substituter fails"
507complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_build_options" -l no-substitutes -d "build instead of resorting to pre-built substitutes"
508complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_build_options" -l substitute-urls= -d "fetch substitute from URLS if they are authorized" -a "$guix_substitute_urls"
509complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_build_options" -l no-grafts -d "do not graft packages"
510complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_build_options" -l no-offload -d "do not attempt to offload builds"
511complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_build_options" -l max-silent-time= -d "mark the build as failed after SECONDS of silence"
512complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_build_options" -l timeout= -d "mark the build as failed after SECONDS of activity"
513complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_build_options" -l debug= -d "produce debugging output at LEVEL"
514complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_build_options" -s c -l cores= -d "allow the use of up to N CPU cores for the build"
515complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_build_options" -s M -l max-jobs= -d "allow at most N build jobs"
516
517
518# Cross build options.
519set -l guix_commands_with_cross_build_options \
520 archive \
521 build \
522 pack \
523 system
524
525complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_cross_build_options" -l list-targets -d "list available targets"
526complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_cross_build_options" -l target= -d "cross-build for TRIPLET" -a "$guix_build_targets"
527
528
529# Native build options.
530set -l guix_commands_with_native_build_options \
531 archive \
532 build \
533 environment \
534 graph \
535 pack \
536 pull \
537 shell \
538 size \
539 system \
540 weather
541
542complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_native_build_options" -l list-systems -d "list available systems"
543complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_native_build_options" -l system= -d "attempt to build for SYSTEM" -a "$guix_build_systems"
544
545
546# Transformation options.
547set -l guix_commands_with_transformation_options \
548 build \
549 environment \
550 graph \
551 install \
552 pack \
553 package \
554 shell \
555 upgrade
556
557complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_transformation_options" -l with-source= -d "use SOURCE when building the corresponding package"
558complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_transformation_options" -l with-input= -d "replace dependency PACKAGE by REPLACEMENT"
559complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_transformation_options" -l with-graft= -d "graft REPLACEMENT on packages that refer to PACKAGE"
560complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_transformation_options" -l with-branch= -d "build PACKAGE from the latest commit of BRANCH"
561complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_transformation_options" -l with-commit= -d "build PACKAGE from COMMIT"
562complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_transformation_options" -l with-git-url= -d "build PACKAGE from the repository at URL"
563complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_transformation_options" -l with-c-toolchain= -d "add FILE to the list of patches of PACKAGE"
564complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_transformation_options" -l tune -d "tune relevant packages for CPU--e.g., \"skylake\"" -a "native generic"
565complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_transformation_options" -l with-debug-info= -d "append FLAG to the configure flags of PACKAGE"
566complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_transformation_options" -l without-tests= -d "use the latest upstream release of PACKAGE"
567complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_transformation_options" -l with-configure-flag= -d "use the given upstream VERSION of PACKAGE"
568complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_transformation_options" -l with-patch= -d "build PACKAGE and its dependents with TOOLCHAIN"
569complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_transformation_options" -l with-latest= -d "build PACKAGE and preserve its debug info"
570complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_transformation_options" -l with-version= -d "build PACKAGE without running its tests"
571complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_transformation_options" -l help-transform -d "list package transformation options not shown here"
572
573
574# Environment options.
575set -l guix_commands_with_environment_options \
576 environment \
577 shell
578
579complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -s e -l expression= -d "create environment for the package that EXPR evaluates to"
580complete -r -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -s m -l manifest= -d "create environment with the manifest from FILE"
581complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -s p -l profile= -d "create environment from profile at PATH" -a "(__fish_complete_directories)"
582complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -l check -d "check if the shell clobbers environment variables"
583complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -l pure -d "unset existing environment variables"
584complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -s E -l preserve= -d "preserve environment variables that match REGEXP"
585complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -l search-paths -d "display needed environment variable definitions"
586complete -r -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -s r -l root= -d "make FILE a symlink to the result, and register it as a garbage collector root"
587complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -s C -l container -d "run command within an isolated container"
588complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -s N -l network -d "allow containers to access the network"
589complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -s P -l link-profile -d "link environment profile to ~/.guix-profile within an isolated container"
590complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -s W -l nesting -d "make Guix available within the container"
591complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -s u -l user= -d "instead of copying the name and home of the current user into an isolated container, use the name USER with home directory /home/USER" -a "(__fish_complete_users)"
592complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -l no-cwd -d "do not share current working directory with an isolated container"
593complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -l writable-root -d "make the container's root file system writable"
594complete -r -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -l share= -d "for containers, share writable host file system according to SPEC"
595complete -r -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -l expose= -d "for containers, expose read-only host file system according to SPEC"
596complete -r -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -s S -l symlink= -d "for containers, add symlinks to the profile according to SPEC, e.g. \"/usr/bin/env=bin/env\"."
597complete -x -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -s v -l verbosity= -d "use the given verbosity LEVEL"
598complete -f -c guix -n "__fish_guix_using_command $guix_commands_with_environment_options" -l bootstrap -d "use bootstrap binaries to build the environment"
599
600
601set -l guix_command archive
602complete -f -c guix -n "__fish_guix_using_command $guix_command" -l export -d "export the specified files/packages to stdout"
603complete -f -c guix -n "__fish_guix_using_command $guix_command" -s r -l recursive -d "combined with '--export', include dependencies"
604complete -f -c guix -n "__fish_guix_using_command $guix_command" -l import -d "import from the archive passed on stdin"
605complete -f -c guix -n "__fish_guix_using_command $guix_command" -l missing -d "print the files from stdin that are missing"
606complete -x -c guix -n "__fish_guix_using_command $guix_command" -s x -l extract= -d "extract the archive on stdin to DIR" -a "(__fish_complete_directories)"
607complete -f -c guix -n "__fish_guix_using_command $guix_command" -s t -l list -d "list the files in the archive on stdin"
608complete -f -c guix -n "__fish_guix_using_command $guix_command" -l generate-key -d "generate a key pair with the given parameters" -a "PARAMETERS"
609complete -f -c guix -n "__fish_guix_using_command $guix_command" -l authorize -d "authorize imports signed by the public key on stdin"
610complete -x -c guix -n "__fish_guix_using_command $guix_command" -s e -l expression= -d "build the package or derivation EXPR evaluates to"
611complete -f -c guix -n "__fish_guix_using_command $guix_command" -s S -l source -d "build the packages' source derivations"
612complete -x -c guix -n "__fish_guix_using_command $guix_command" -s v -l verbosity= -d "use the given verbosity LEVEL"
613
614
615set -l guix_command build
616complete -x -c guix -n "__fish_guix_using_command $guix_command" -s e -l expression= -d "build the package or derivation EXPR evaluates to"
617complete -r -c guix -n "__fish_guix_using_command $guix_command" -s f -l file= -d "build the package or derivation that the code within FILE evaluates to"
618complete -r -c guix -n "__fish_guix_using_command $guix_command" -s m -l manifest= -d "build the packages that the manifest given in FILE evaluates to"
619complete -f -c guix -n "__fish_guix_using_command $guix_command" -s D -l development -d "build the inputs of the following package"
620complete -f -c guix -n "__fish_guix_using_command $guix_command" -s P -l dependents -d "build dependents of the following package, up to depth N" -a "N"
621complete -f -c guix -n "__fish_guix_using_command $guix_command" -s S -l source -d "build the packages' source derivations"
622complete -f -c guix -n "__fish_guix_using_command $guix_command" -l sources -d "build source derivations" -a "package all transitive"
623complete -f -c guix -n "__fish_guix_using_command $guix_command" -s d -l derivations -d "return the derivation paths of the given packages"
624complete -f -c guix -n "__fish_guix_using_command $guix_command" -l check -d "rebuild items to check for non-determinism issues"
625complete -f -c guix -n "__fish_guix_using_command $guix_command" -l repair -d "repair the specified items"
626complete -r -c guix -n "__fish_guix_using_command $guix_command" -s r -l root= -d "make FILE a symlink to the result, and register it as a garbage collector root"
627complete -x -c guix -n "__fish_guix_using_command $guix_command" -s v -l verbosity= -d "use the given verbosity LEVEL"
628complete -f -c guix -n "__fish_guix_using_command $guix_command" -s q -l quiet -d "do not show the build log"
629complete -f -c guix -n "__fish_guix_using_command $guix_command" -l log-file -d "return the log file names for the given derivations"
630
631
632set -l guix_command challenge
633complete -x -c guix -n "__fish_guix_using_command $guix_command" -l substitute-urls= -d "compare build results with those at URLS" -a "$guix_substitute_urls"
634complete -f -c guix -n "__fish_guix_using_command $guix_command" -s v -l verbose -d "show details about successful comparisons"
635complete -x -c guix -n "__fish_guix_using_command $guix_command" -l diff= -d "show differences according to MODE"
636
637
638set -l guix_command container
639complete -x -c guix -n "__fish_guix_using_command $guix_command" -d "execute a command inside of an existing container" -a "exec"
640
641
642set -l guix_command copy
643complete -x -c guix -n "__fish_guix_using_command $guix_command" -l to= -d "send ITEMS to HOST" -a "(__fish_print_hostnames)"
644complete -x -c guix -n "__fish_guix_using_command $guix_command" -l from= -d "receive ITEMS from HOST" -a "(__fish_print_hostnames)"
645complete -x -c guix -n "__fish_guix_using_command $guix_command" -s v -l verbosity= -d "use the given verbosity LEVEL"
646
647
648set -l guix_command deploy
649complete -x -c guix -n "__fish_guix_using_command $guix_command" -s e -l expression= -d "deploy the list of machines EXPR evaluates to"
650complete -f -c guix -n "__fish_guix_using_command $guix_command" -s r -l roll-back -d "switch to the previous operating system configuration"
651complete -f -c guix -n "__fish_guix_using_command $guix_command" -s x -l execute -d "execute the following command on all the machines"
652complete -x -c guix -n "__fish_guix_using_command $guix_command" -s v -l verbosity= -d "use the given verbosity LEVEL"
653# guix deploy --execute --
654complete -f -c guix -n "__fish_guix_using_command $guix_command; and __fish_seen_subcommand_from --execute -x; and not __fish_seen_subcommand_from --" -a "--"
655complete -x -c guix -n "__fish_guix_using_command $guix_command; and __fish_seen_subcommand_from --execute -x; and __fish_seen_subcommand_from --" -a "(__fish_guix_complete_subcommand)"
656
657
658set -l guix_command describe
659complete -x -c guix -n "__fish_guix_using_command $guix_command" -s f -l format= -d "display information in the given FORMAT" -a "$guix_describe_formats"
660complete -f -c guix -n "__fish_guix_using_command $guix_command" -l list-formats -d "display available formats"
661complete -x -c guix -n "__fish_guix_using_command $guix_command" -s p -l profile= -d "display information about PROFILE" -a "(__fish_complete_directories)"
662
663
664set -l guix_command download
665complete -x -c guix -n "__fish_guix_using_command $guix_command" -s f -l format= -d "write the hash in the given format" -a "base64 nix-base32 base32 base16 hex hexadecimal"
666complete -x -c guix -n "__fish_guix_using_command $guix_command" -s H -l hash= -d "use the given hash ALGORITHM"
667complete -x -c guix -n "__fish_guix_using_command $guix_command" -l no-check-certificate= -d "do not validate the certificate of HTTPS servers"
668complete -r -c guix -n "__fish_guix_using_command $guix_command" -s o -l output= -d "download to FILE"
669complete -f -c guix -n "__fish_guix_using_command $guix_command" -s g -l git -d "download the default branch's latest commit of the Git repository at URL"
670complete -x -c guix -n "__fish_guix_using_command $guix_command" -l commit= -d "download the given commit or tag of the Git repository at URL"
671complete -x -c guix -n "__fish_guix_using_command $guix_command" -l branch= -d "download the given branch of the Git repository at URL"
672complete -f -c guix -n "__fish_guix_using_command $guix_command" -s r -l recursive -d "download a Git repository recursively"
673
674
675set -l guix_command edit
676complete -x -c guix -n "__fish_guix_using_command $guix_command" -s L -l load-path= -d "prepend DIR to the package module search path" -a "(__fish_complete_directories)"
677
678
679set -l guix_command environment
680complete -r -c guix -n "__fish_guix_using_command $guix_command" -s l -l load-file= -d "create environment for the package that the code within FILE evaluates to"
681complete -f -c guix -n "__fish_guix_using_command $guix_command" -l ad-hoc -d "include all specified packages in the environment instead of only their inputs"
682
683
684set -l guix_command gc
685complete -x -c guix -n "__fish_guix_using_command $guix_command" -s C -l collect-garbage= -d "collect at least MIN bytes of garbage"
686complete -x -c guix -n "__fish_guix_using_command $guix_command" -s F -l free-space= -d "attempt to reach FREE available space in the store"
687complete -f -c guix -n "__fish_guix_using_command $guix_command" -s d -l delete-generations -d "delete profile generations matching PATTERN" -a "PATTERN"
688complete -f -c guix -n "__fish_guix_using_command $guix_command" -s D -l delete -d "attempt to delete PATHS"
689complete -f -c guix -n "__fish_guix_using_command $guix_command" -l list-roots -d "list the user's garbage collector roots"
690complete -f -c guix -n "__fish_guix_using_command $guix_command" -l list-busy -d "list store items used by running processes"
691complete -f -c guix -n "__fish_guix_using_command $guix_command" -l optimize -d "optimize the store by deduplicating identical files"
692complete -f -c guix -n "__fish_guix_using_command $guix_command" -l list-dead -d "list dead paths"
693complete -f -c guix -n "__fish_guix_using_command $guix_command" -l list-live -d "list live paths"
694complete -f -c guix -n "__fish_guix_using_command $guix_command" -l references -d "list the references of PATHS"
695complete -f -c guix -n "__fish_guix_using_command $guix_command" -s R -l requisites -d "list the requisites of PATHS"
696complete -f -c guix -n "__fish_guix_using_command $guix_command" -l referrers -d "list the referrers of PATHS"
697complete -f -c guix -n "__fish_guix_using_command $guix_command" -l derivers -d "list the derivers of PATHS"
698complete -f -c guix -n "__fish_guix_using_command $guix_command" -l verify -d "verify the integrity of the store" -a "repair contents repair,contents"
699complete -f -c guix -n "__fish_guix_using_command $guix_command" -l list-failures -d "list cached build failures"
700complete -f -c guix -n "__fish_guix_using_command $guix_command" -l clear-failures -d "remove PATHS from the set of cached failures"
701complete -f -c guix -n "__fish_guix_using_command $guix_command" -l vacuum-database -d "repack the sqlite database tracking the store using less space"
702
703
704set -l guix_command git
705complete -x -c guix -n "__fish_guix_using_command $guix_command; and not __fish_seen_subcommand_from authenticate" -a "authenticate" -d "verify commit signatures and authorizations"
706complete -x -c guix -n "__fish_guix_using_command $guix_command; and __fish_seen_subcommand_from authenticate" -s r -l repository= -d "open the Git repository at DIRECTORY" -a "(__fish_complete_directories)"
707complete -x -c guix -n "__fish_guix_using_command $guix_command; and __fish_seen_subcommand_from authenticate" -s k -l keyring= -d "load keyring from REFERENCE, a Git branch"
708complete -x -c guix -n "__fish_guix_using_command $guix_command; and __fish_seen_subcommand_from authenticate" -l end= -d "authenticate revisions up to COMMIT"
709complete -f -c guix -n "__fish_guix_using_command $guix_command; and __fish_seen_subcommand_from authenticate" -l stats -d "display commit signing statistics upon completion"
710complete -x -c guix -n "__fish_guix_using_command $guix_command; and __fish_seen_subcommand_from authenticate" -l cache-key= -d "cache authenticated commits under KEY"
711complete -r -c guix -n "__fish_guix_using_command $guix_command; and __fish_seen_subcommand_from authenticate" -l historical-authorizations= -d "read historical authorizations from FILE"
712
713
714set -l guix_command graph
715complete -x -c guix -n "__fish_guix_using_command $guix_command" -s b -l backend= -d "produce a graph with the given backend TYPE" -a "$guix_graph_backends"
716complete -f -c guix -n "__fish_guix_using_command $guix_command" -l list-backends -d "list the available graph backends"
717complete -x -c guix -n "__fish_guix_using_command $guix_command" -s t -l type= -d "represent nodes of the given TYPE" -a "$guix_graph_types"
718complete -f -c guix -n "__fish_guix_using_command $guix_command" -l list-types -d "list the available graph types"
719complete -x -c guix -n "__fish_guix_using_command $guix_command" -s M -l max-depth= -d "limit to nodes within distance DEPTH"
720complete -f -c guix -n "__fish_guix_using_command $guix_command" -l path -d "display the shortest path between the given nodes"
721complete -x -c guix -n "__fish_guix_using_command $guix_command" -s e -l expression= -d "consider the package EXPR evaluates to"
722complete -x -c guix -n "__fish_guix_using_command $guix_command" -s L -l load-path= -d "prepend DIR to the package module search path" -a "(__fish_complete_directories)"
723
724
725set -l guix_command hash
726complete -f -c guix -n "__fish_guix_using_command $guix_command" -s x -l exclude-vcs -d "exclude version control directories"
727complete -x -c guix -n "__fish_guix_using_command $guix_command" -s H -l hash= -d "use the given hash ALGORITHM"
728complete -x -c guix -n "__fish_guix_using_command $guix_command" -s f -l format= -d "write the hash in the given format" -a "base64 nix-base32 base32 base16 hex hexadecimal"
729complete -x -c guix -n "__fish_guix_using_command $guix_command" -s S -l serializers= -d "compute the hash on FILE according to TYPE serialization"
730
731
732set -l guix_command home
733complete -x -c guix -n "__fish_guix_using_command $guix_command" -s e -l expression= -d "consider the home-environment EXPR evaluates to instead of reading FILE, when applicable"
734complete -f -c guix -n "__fish_guix_using_command $guix_command" -l allow-downgrades -d "for 'reconfigure', allow downgrades to earlier channel revisions"
735complete -f -c guix -n "__fish_guix_using_command $guix_command" -s N -l network -d "allow containers to access the network"
736complete -r -c guix -n "__fish_guix_using_command $guix_command" -l share= -d "for containers, share writable host file system according to SPEC"
737complete -r -c guix -n "__fish_guix_using_command $guix_command" -l expose= -d "for containers, expose read-only host file system according to SPEC"
738complete -x -c guix -n "__fish_guix_using_command $guix_command" -s v -l verbosity= -d "use the given verbosity LEVEL"
739complete -x -c guix -n "__fish_guix_using_command $guix_command" -l graph-backend= -d "use BACKEND for 'extension-graph' and 'shepherd-graph'" -a "$guix_graph_backends"
740complete -f -c guix -n "__fish_guix_using_command $guix_command" -s I -l list-installed -d "for 'describe' or 'list-generations', list installed packages matching REGEXP" -a "REGEXP"
741
742
743set -l guix_command import
744complete -r -c guix -n "__fish_guix_using_command $guix_command; and not __fish_seen_subcommand_from $guix_importers" -s i -l insert= -d "insert packages into file alphabetically"
745complete -x -c guix -n "__fish_guix_using_command $guix_command; and not __fish_seen_subcommand_from $guix_importers" -a "$guix_importers"
746
747set -l guix_importer composer
748complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s r -l recursive -d "generate package expressions for all Composer packages that are not yet in Guix"
749
750set -l guix_importer cpan
751complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s r -l recursive -d "import missing packages recursively"
752
753set -l guix_importer cran
754complete -x -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s a -l archive= -d "specify the archive repository"
755complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s r -l recursive -d "import packages recursively"
756complete -x -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s s -l style= -d "choose output style" -a "specification variable"
757complete -x -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s p -l license-prefix= -d "add custom prefix to licenses"
758
759set -l guix_importer crate
760complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -l allow-yanked -d "allow importing yanked crates if no alternative satisfying the version requirement is found"
761complete -x -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s f -l lockfile= -d "import dependencies from FILE, a 'Cargo.lock' file"
762
763set -l guix_importer egg
764complete -f -c guix -s r -l recursive -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -d "import packages recursively"
765
766set -l guix_importer elm
767complete -f -c guix -s r -l recursive -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -d "import packages recursively"
768
769set -l guix_importer elpa
770complete -x -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s a -l archive= -d "specify the archive repository"
771complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s l -l list-archives -d "list ELPA repositories supported by the importer"
772complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s r -l recursive -d "generate package expressions for all Emacs packages that are not yet in Guix"
773
774set -l guix_importer gem
775complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s r -l recursive -d "generate package expressions for all Gem packages that are not yet in Guix"
776
777set -l guix_importer gnu
778complete -x -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -l key-download= -d "handle missing OpenPGP keys according to POLICY" -a "auto always never interactive"
779
780set -l guix_importer go
781complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s r -l recursive -d "generate package expressions for all Go modules that are not yet in Guix"
782complete -x -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s p -l goproxy= -d "specify which goproxy server to use"
783complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -l pin-versions -d "use the exact versions of a module's dependencies"
784
785set -l guix_importer hackage
786complete -x -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s e -l cabal-environment= -d "specify environment for Cabal evaluation"
787complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s r -l recursive -d "import packages recursively"
788complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s s -l stdin -d "read from standard input"
789complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s t -l no-test-dependencies -d "don't include test-only dependencies"
790
791set -l guix_importer hackage
792complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s r -l recursive -d "import packages recursively"
793
794set -l guix_importer luanti
795complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s r -l recursive -d "import packages recursively"
796complete -x -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -l sort= -d "when choosing between multiple implementations, choose the one with the highest value for KEY" -a "score downloads"
797
798set -l guix_importer npm-binary
799complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s r -l recursive -d "import packages recursively"
800
801set -l guix_importer nuget
802complete -x -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s a -l archive= -d "specify the archive repository"
803complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s r -l recursive -d "import packages recursively"
804complete -x -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s p -l license-prefix= -d "add custom prefix to licenses"
805
806
807set -l guix_importer opam
808complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s r -l recursive -d "import packages recursively"
809complete -x -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -l repo= -d "import packages from REPOSITORY (name, URL, or file name); can be used more than once"
810
811set -l guix_importer pypi
812complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s r -l recursive -d "import packages recursively"
813
814set -l guix_importer stackage
815complete -x -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s l -l lts-version= -d "specify the LTS version to use"
816complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s r -l recursive -d "import packages recursively"
817complete -f -c guix -n "__fish_seen_subcommand_from $guix_command; and __fish_seen_subcommand_from $guix_importer" -s t -l no-test-dependencies -d "don't include test-only dependencies"
818
819
820set -l guix_command install
821complete -x -c guix -n "__fish_guix_using_command $guix_command" -s p -l profile= -d "use PROFILE instead of the user's default profile" -a "(__fish_complete_directories)"
822complete -x -c guix -n "__fish_guix_using_command $guix_command" -s v -l verbosity= -d "use the given verbosity LEVEL"
823
824
825set -l guix_command lint
826complete -x -c guix -n "__fish_guix_using_command $guix_command" -s c -l checkers= -d "only run the specified checkers" -a "$guix_lint_checker"
827complete -x -c guix -n "__fish_guix_using_command $guix_command" -s x -l exclude= -d "exclude the specified checkers" -a "$guix_lint_checker"
828complete -f -c guix -n "__fish_guix_using_command $guix_command" -s n -l no-network -d "only run checkers that do not access the network"
829complete -x -c guix -n "__fish_guix_using_command $guix_command" -s e -l expression= -d "consider the package EXPR evaluates to"
830complete -x -c guix -n "__fish_guix_using_command $guix_command" -s L -l load-path= -d "prepend DIR to the package module search path" -a "(__fish_complete_directories)"
831complete -f -c guix -n "__fish_guix_using_command $guix_command" -s l -l list-checkers -d "display the list of available lint checkers"
832
833
834set -l guix_command locate
835complete -f -c guix -n "__fish_guix_using_command $guix_command" -s g -l glob -d "interpret FILE as a glob pattern"
836complete -f -c guix -n "__fish_guix_using_command $guix_command" -l stats -d "display database statistics"
837complete -f -c guix -n "__fish_guix_using_command $guix_command" -s u -l update -d "force a database update"
838complete -f -c guix -n "__fish_guix_using_command $guix_command" -l clear -d "clear the database"
839complete -r -c guix -n "__fish_guix_using_command $guix_command" -l database= -d "store the database in FILE"
840complete -x -c guix -n "__fish_guix_using_command $guix_command" -l method= -d "use METHOD to select packages to index" -a "manifests store"
841
842
843set -l guix_command pack
844complete -r -c guix -n "__fish_guix_using_command $guix_command" -l file= -d "build a pack the code within FILE evaluates to"
845complete -x -c guix -n "__fish_guix_using_command $guix_command" -s f -l format= -d "build a pack in the given FORMAT" -a "$guix_pack_formats"
846complete -f -c guix -n "__fish_guix_using_command $guix_command" -l list-formats -d "list the formats available"
847complete -f -c guix -n "__fish_guix_using_command $guix_command" -s R -l relocatable -d "produce relocatable executables"
848complete -x -c guix -n "__fish_guix_using_command $guix_command" -s e -l expression= -d "consider the package EXPR evaluates to"
849complete -x -c guix -n "__fish_guix_using_command $guix_command" -s C -l compression= -d "compress using TOOL" -a "gzip lzip xz bzip2 zstd none"
850complete -r -c guix -n "__fish_guix_using_command $guix_command" -s S -l symlink= -d "create symlinks to the profile according to SPEC"
851complete -r -c guix -n "__fish_guix_using_command $guix_command" -s m -l manifest= -d "create a pack with the manifest from FILE"
852complete -x -c guix -n "__fish_guix_using_command $guix_command" -l entry-point= -d "use PROGRAM as the entry point of the pack"
853complete -f -c guix -n "__fish_guix_using_command $guix_command" -l save-provenance -d "save provenance information"
854complete -f -c guix -n "__fish_guix_using_command $guix_command" -l localstatedir -d "include /var/guix in the resulting pack"
855complete -x -c guix -n "__fish_guix_using_command $guix_command" -l profile-name= -d "populate /var/guix/profiles/.../NAME"
856complete -r -c guix -n "__fish_guix_using_command $guix_command" -s r -l root= -d "make FILE a symlink to the result, and register it as a garbage collector root"
857complete -f -c guix -n "__fish_guix_using_command $guix_command" -s d -l derivation -d "return the derivation of the pack"
858complete -x -c guix -n "__fish_guix_using_command $guix_command" -s v -l verbosity= -d "use the given verbosity LEVEL"
859complete -f -c guix -n "__fish_guix_using_command $guix_command" -l bootstrap -d "use the bootstrap binaries to build the pack"
860
861
862set -l guix_command package
863complete -x -c guix -n "__fish_guix_using_command $guix_command" -s i -l install -d "install PACKAGEs"
864complete -x -c guix -n "__fish_guix_using_command $guix_command" -s e -l install-from-expression -d "install the package EXP evaluates to"
865complete -r -c guix -n "__fish_guix_using_command $guix_command" -s f -l install-from-file= -d "install the package that the code within FILE evaluates to"
866complete -x -c guix -n "__fish_guix_using_command $guix_command" -s r -l remove -d "remove PACKAGEs"
867complete -f -c guix -n "__fish_guix_using_command $guix_command" -s u -l upgrade -d "upgrade all the installed packages matching REGEXP" -a "REGEXP"
868complete -r -c guix -n "__fish_guix_using_command $guix_command" -s m -l manifest= -d "create a new profile generation with the manifest from FILE"
869complete -f -c guix -n "__fish_guix_using_command $guix_command" -l do-not-upgrade -d "do not upgrade any packages matching REGEXP" -a "REGEXP"
870complete -f -c guix -n "__fish_guix_using_command $guix_command" -l roll-back -d "roll back to the previous generation"
871complete -f -c guix -n "__fish_guix_using_command $guix_command" -l search-paths -d "display needed environment variable definitions" -a "exact prefix suffix"
872complete -f -c guix -n "__fish_guix_using_command $guix_command" -s l -l list-generations -d "list generations matching PATTERN" -a "PATTERN"
873complete -f -c guix -n "__fish_guix_using_command $guix_command" -s d -l delete-generations -d "delete generations matching PATTERN" -a "PATTERN"
874complete -x -c guix -n "__fish_guix_using_command $guix_command" -s S -l switch-generation= -d "switch to a generation matching PATTERN"
875complete -f -c guix -n "__fish_guix_using_command $guix_command" -l export-manifest -d "print a manifest for the chosen profile"
876complete -f -c guix -n "__fish_guix_using_command $guix_command" -l export-channels -d "print channels for the chosen profile"
877complete -x -c guix -n "__fish_guix_using_command $guix_command" -s p -l profile= -d "use PROFILE instead of the user's default profile" -a "(__fish_complete_directories)"
878complete -f -c guix -n "__fish_guix_using_command $guix_command" -l list-profiles -d "list the user's profiles"
879complete -f -c guix -n "__fish_guix_using_command $guix_command" -l allow-collisions -d "do not treat collisions in the profile as an error"
880complete -f -c guix -n "__fish_guix_using_command $guix_command" -l bootstrap -d "use the bootstrap Guile to build the profile"
881complete -x -c guix -n "__fish_guix_using_command $guix_command" -s v -l verbosity= -d "use the given verbosity LEVEL"
882complete -x -c guix -n "__fish_guix_using_command $guix_command" -s s -l search= -d "search in synopsis and description using REGEXP"
883complete -f -c guix -n "__fish_guix_using_command $guix_command" -s I -l list-installed -d "list installed packages matching REGEXP" -a "REGEXP"
884complete -f -c guix -n "__fish_guix_using_command $guix_command" -s A -l list-available -d "list available packages matching REGEXP" -a "REGEXP"
885complete -x -c guix -n "__fish_guix_using_command $guix_command" -l show= -d "show details about PACKAGE"
886
887
888set -l guix_command processes
889complete -x -c guix -n "__fish_guix_using_command $guix_command" -s f -l format= -d "display results as normalized record sets" -a "$guix_processes_formats"
890complete -f -c guix -n "__fish_guix_using_command $guix_command" -l list-formats -d "display available formats"
891
892
893set -l guix_command publish
894complete -x -c guix -n "__fish_guix_using_command $guix_command" -s p -l port= -d "listen on PORT"
895complete -x -c guix -n "__fish_guix_using_command $guix_command" -l listen= -d "listen on the network interface for HOST"
896complete -x -c guix -n "__fish_guix_using_command $guix_command" -s u -l user= -d "change privileges to USER as soon as possible" -a "(__fish_complete_users)"
897complete -f -c guix -n "__fish_guix_using_command $guix_command" -s a -l advertise -d "advertise on the local network"
898complete -f -c guix -n "__fish_guix_using_command $guix_command" -s C -l compression -d "compress archives with METHOD at LEVEL" -a "METHOD:LEVEL"
899complete -x -c guix -n "__fish_guix_using_command $guix_command" -s c -l cache= -d "cache published items to DIRECTORY" -a "(__fish_complete_directories)"
900complete -x -c guix -n "__fish_guix_using_command $guix_command" -l cache-bypass-threshold= -d "serve store items below SIZE even when not cached"
901complete -x -c guix -n "__fish_guix_using_command $guix_command" -l workers= -d "use N workers to bake items"
902complete -x -c guix -n "__fish_guix_using_command $guix_command" -l ttl= -d "announce narinfos can be cached for TTL seconds"
903complete -x -c guix -n "__fish_guix_using_command $guix_command" -l negative-ttl= -d "announce missing narinfos can be cached for TTL seconds"
904complete -x -c guix -n "__fish_guix_using_command $guix_command" -l nar-path= -d "use PATH as the prefix for nar URLs"
905complete -r -c guix -n "__fish_guix_using_command $guix_command" -l public-key= -d "use FILE as the public key for signatures"
906complete -r -c guix -n "__fish_guix_using_command $guix_command" -l private-key= -d "use FILE as the private key for signatures"
907complete -f -c guix -n "__fish_guix_using_command $guix_command" -s r -l repl -d "spawn REPL server on PORT" -a "PORT"
908
909
910set -l guix_command pull
911complete -r -c guix -n "__fish_guix_using_command $guix_command" -s C -l channels= -d "deploy the channels defined in FILE"
912complete -f -c guix -n "__fish_guix_using_command $guix_command" -s q -l no-channel-files -d "inhibit loading of user and system 'channels.scm'"
913complete -x -c guix -n "__fish_guix_using_command $guix_command" -l url= -d "download \"guix\" channel from the Git repository at URL"
914complete -x -c guix -n "__fish_guix_using_command $guix_command" -l commit= -d "download the specified \"guix\" channel COMMIT"
915complete -x -c guix -n "__fish_guix_using_command $guix_command" -l branch= -d "download the tip of the specified \"guix\" channel BRANCH"
916complete -f -c guix -n "__fish_guix_using_command $guix_command" -l allow-downgrades -d "allow downgrades to earlier channel revisions"
917complete -f -c guix -n "__fish_guix_using_command $guix_command" -l disable-authentication -d "disable channel authentication"
918complete -f -c guix -n "__fish_guix_using_command $guix_command" -l no-check-certificate -d "do not validate the certificate of HTTPS servers"
919complete -f -c guix -n "__fish_guix_using_command $guix_command" -s N -l news -d "display news compared to the previous generation"
920complete -f -c guix -n "__fish_guix_using_command $guix_command" -s l -l list-generations -d "list generations matching PATTERN" -a "PATTERN"
921complete -f -c guix -n "__fish_guix_using_command $guix_command" -l details -d "show details when listing generations"
922complete -f -c guix -n "__fish_guix_using_command $guix_command" -l roll-back -d "roll back to the previous generation"
923complete -f -c guix -n "__fish_guix_using_command $guix_command" -s d -l delete-generations -d "delete generations matching PATTERN" -a "PATTERN"
924complete -x -c guix -n "__fish_guix_using_command $guix_command" -s S -l switch-generation= -d "switch to a generation matching PATTERN"
925complete -x -c guix -n "__fish_guix_using_command $guix_command" -s p -l profile= -d "use PROFILE instead of ~/.config/guix/current" -a "(__fish_complete_directories)"
926complete -x -c guix -n "__fish_guix_using_command $guix_command" -s v -l verbosity= -d "use the given verbosity LEVEL"
927complete -f -c guix -n "__fish_guix_using_command $guix_command" -l bootstrap -d "use the bootstrap Guile to build the new Guix"
928
929
930set -l guix_command refresh
931complete -x -c guix -s e -l expression= -n "__fish_guix_using_command $guix_command" -d "consider the package EXPR evaluates to"
932complete -f -c guix -s u -l update -n "__fish_guix_using_command $guix_command" -d "update source files in place"
933complete -x -c guix -s s -l select= -n "__fish_guix_using_command $guix_command" -d "select all the packages in SUBSET" -a "core non-core module:NAME"
934complete -r -c guix -s m -l manifest= -n "__fish_guix_using_command $guix_command" -d "select all the packages from the manifest in FILE"
935complete -x -c guix -l target-version= -n "__fish_guix_using_command $guix_command" -d "update the package or packages to VERSION, VERSION may be partially specified, e.g. as 6 or 6.4 instead of 6.4.3"
936complete -x -c guix -s t -l type= -n "__fish_guix_using_command $guix_command" -d "restrict to updates from the specified updaters" -a "$guix_refresh_updaters"
937complete -f -c guix -l list-updaters -n "__fish_guix_using_command $guix_command" -d "list available updaters and exit"
938complete -f -c guix -s l -l list-dependent -n "__fish_guix_using_command $guix_command" -d "list top-level dependent packages that would need to be rebuilt as a result of upgrading PACKAGE..."
939complete -f -c guix -s r -l recursive -n "__fish_guix_using_command $guix_command" -d "check the PACKAGE and its inputs for upgrades"
940complete -f -c guix -s T -l list-transitive -n "__fish_guix_using_command $guix_command" -d "list all the packages that PACKAGE depends on"
941complete -r -c guix -l keyring= -n "__fish_guix_using_command $guix_command" -d "use FILE as the keyring of upstream OpenPGP keys"
942complete -x -c guix -l key-server= -n "__fish_guix_using_command $guix_command" -d "use HOST as the OpenPGP key server"
943complete -x -c guix -l gpg= -n "__fish_guix_using_command $guix_command" -d "use COMMAND as the GnuPG 2.x command"
944complete -x -c guix -l key-download= -n "__fish_guix_using_command $guix_command" -d "handle missing OpenPGP keys according to POLICY" -a "auto always never interactive"
945complete -x -c guix -s L -l load-path= -n "__fish_guix_using_command $guix_command" -d "prepend DIR to the package module search path" -a "(__fish_complete_directories)"
946
947
948set -l guix_command remove
949complete -x -c guix -n "__fish_guix_using_command $guix_command" -s p -l profile= -d "use PROFILE instead of the user's default profile" -a "(__fish_complete_directories)"
950complete -x -c guix -n "__fish_guix_using_command $guix_command" -s v -l verbosity= -d "use the given verbosity LEVEL"
951
952
953set -l guix_command repl
954complete -f -c guix -n "__fish_guix_using_command $guix_command" -l list-types -d "display REPL types and exit"
955complete -x -c guix -n "__fish_guix_using_command $guix_command" -s t -l type= -d "start a REPL of the given TYPE" -a "$guix_repl_types"
956complete -x -c guix -n "__fish_guix_using_command $guix_command" -l listen= -d "listen to ENDPOINT instead of standard input"
957complete -f -c guix -n "__fish_guix_using_command $guix_command" -s q -d "inhibit loading of ~/.guile"
958complete -f -c guix -n "__fish_guix_using_command $guix_command" -s i -l interactive -d "launch REPL after evaluating FILE"
959complete -x -c guix -n "__fish_guix_using_command $guix_command" -s L -l load-path= -d "prepend DIR to the package module search path" -a "(__fish_complete_directories)"
960
961
962set -l guix_command search
963complete -x -c guix -n "__fish_guix_using_command $guix_command" -s L -l load-path= -d "prepend DIR to the package module search path" -a "(__fish_complete_directories)"
964
965
966set -l guix_command shell
967complete -f -c guix -n "__fish_guix_using_command $guix_command" -s D -l development -d "include the development inputs of the next package"
968complete -r -c guix -n "__fish_guix_using_command $guix_command" -s f -l file= -d "add to the environment the package FILE evaluates to"
969complete -f -c guix -n "__fish_guix_using_command $guix_command" -s q -d "inhibit loading of 'guix.scm' and 'manifest.scm'"
970complete -f -c guix -n "__fish_guix_using_command $guix_command" -l rebuild-cache -d "rebuild cached environment, if any"
971complete -f -c guix -n "__fish_guix_using_command $guix_command" -l export-manifest -d "print a manifest for the given options"
972complete -f -c guix -n "__fish_guix_using_command $guix_command" -s F -l emulate-fhs -d "for containers, emulate the Filesystem Hierarchy Standard (FHS)"
973# guix shell --
974complete -f -c guix -n "__fish_guix_using_command $guix_command; and not __fish_seen_subcommand_from --" -a "--"
975complete -x -c guix -n "__fish_guix_using_command $guix_command; and __fish_seen_subcommand_from --" -a "(__fish_guix_complete_subcommand)"
976
977
978set -l guix_command show
979complete -x -c guix -n "__fish_guix_using_command $guix_command" -s L -l load-path= -d "prepend DIR to the package module search path" -a "(__fish_complete_directories)"
980
981
982set -l guix_command size
983complete -x -c guix -n "__fish_guix_using_command $guix_command" -l substitute-urls= -d "fetch substitute from URLS if they are authorized" -a "$guix_substitute_urls"
984complete -x -c guix -n "__fish_guix_using_command $guix_command" -l sort= -d "sort according to KEY" -a "closure self"
985complete -r -c guix -n "__fish_guix_using_command $guix_command" -s m -l map-file= -d "write to FILE a graphical map of disk usage"
986complete -x -c guix -n "__fish_guix_using_command $guix_command" -s L -l load-path= -d "prepend DIR to the package module search path" -a "(__fish_complete_directories)"
987
988
989set -l guix_command style
990complete -x -c guix -n "__fish_guix_using_command $guix_command" -s S -l styling= -d "apply RULE, a styling rule" -a "$guix_style_stylings"
991complete -f -c guix -n "__fish_guix_using_command $guix_command" -l list-stylings -d "display the list of available style rules"
992complete -f -c guix -n "__fish_guix_using_command $guix_command" -s n -l dry-run -d "display files that would be edited but do nothing"
993complete -x -c guix -n "__fish_guix_using_command $guix_command" -s L -l load-path= -d "prepend DIR to the package module search path" -a "(__fish_complete_directories)"
994complete -x -c guix -n "__fish_guix_using_command $guix_command" -s e -l expression= -d "consider the package EXPR evaluates to"
995complete -x -c guix -n "__fish_guix_using_command $guix_command" -l input-simplification= -d "follow POLICY for package input simplification" -a "silent safe always"
996complete -f -c guix -n "__fish_guix_using_command $guix_command" -s f -l whole-file -d "format the entire contents of the given file(s)"
997complete -f -c guix -n "__fish_guix_using_command $guix_command" -s A -l alphabetical-sort -d "place the contents in alphabetical order as well"
998
999
1000set -l guix_command system
1001complete -f -c guix -n "__fish_guix_using_command $guix_command" -s d -l derivation -d "return the derivation of the given system"
1002complete -x -c guix -n "__fish_guix_using_command $guix_command" -s e -l expression= -d "consider the operating-system EXPR evaluates to instead of reading FILE, when applicable"
1003complete -f -c guix -n "__fish_guix_using_command $guix_command" -l allow-downgrades -d "for 'reconfigure', allow downgrades to earlier channel revisions"
1004complete -x -c guix -n "__fish_guix_using_command $guix_command" -l on-error= -d "apply STRATEGY when an error occurs while reading FILE" -a "nothing-special backtrace debug"
1005complete -f -c guix -n "__fish_guix_using_command $guix_command" -l list-image-types -d "list available image types"
1006complete -x -c guix -n "__fish_guix_using_command $guix_command" -s t -l image-type= -d "for 'image', produce an image of TYPE" -a "$guix_image_types"
1007complete -x -c guix -n "__fish_guix_using_command $guix_command" -l image-size= -d "for 'image', produce an image of SIZE"
1008complete -f -c guix -n "__fish_guix_using_command $guix_command" -l no-bootloader -d "for 'init', do not install a bootloader"
1009complete -f -c guix -n "__fish_guix_using_command $guix_command" -l no-kexec -d "for 'reconfigure', do not load system for kexec reboot"
1010complete -f -c guix -n "__fish_guix_using_command $guix_command" -l volatile -d "for 'image', make the root file system volatile"
1011complete -f -c guix -n "__fish_guix_using_command $guix_command" -l persistent -d "for 'vm', make the root file system persistent"
1012complete -x -c guix -n "__fish_guix_using_command $guix_command" -l label= -d "for 'image', label disk image with LABEL"
1013complete -f -c guix -n "__fish_guix_using_command $guix_command" -l save-provenance -d "save provenance information"
1014complete -r -c guix -n "__fish_guix_using_command $guix_command" -l share= -d "for 'vm' and 'container', share host file system with read/write access according to SPEC"
1015complete -r -c guix -n "__fish_guix_using_command $guix_command" -l expose= -d "for 'vm' and 'container', expose host file system directory as read-only according to SPEC"
1016complete -f -c guix -n "__fish_guix_using_command $guix_command" -s N -l network -d "for 'container', allow containers to access the network"
1017complete -r -c guix -n "__fish_guix_using_command $guix_command" -s r -l root= -d "for 'vm', 'image', 'container' and 'build', make FILE a symlink to the result, and register it as a garbage collector root"
1018complete -f -c guix -n "__fish_guix_using_command $guix_command" -l full-boot -d "for 'vm', make a full boot sequence"
1019complete -f -c guix -n "__fish_guix_using_command $guix_command" -l no-graphic -d "for 'vm', use the tty that we are started in for IO"
1020complete -f -c guix -n "__fish_guix_using_command $guix_command" -l skip-checks -d "skip file system and initrd module safety checks"
1021complete -x -c guix -n "__fish_guix_using_command $guix_command" -s v -l verbosity= -d "use the given verbosity LEVEL"
1022complete -x -c guix -n "__fish_guix_using_command $guix_command" -l graph-backend= -d "use BACKEND for 'extension-graph' and 'shepherd-graph'" -a "$guix_graph_backends"
1023complete -f -c guix -n "__fish_guix_using_command $guix_command" -s I -l list-installed -d "for 'describe' and 'list-generations', list installed packages matching REGEXP" -a "REGEXP"
1024
1025
1026set -l guix_command time-machine
1027complete -r -c guix -n "__fish_guix_using_command $guix_command" -s C -l channels= -d "deploy the channels defined in FILE"
1028complete -f -c guix -n "__fish_guix_using_command $guix_command" -s q -l no-channel-files -d "inhibit loading of user and system 'channels.scm'"
1029complete -x -c guix -n "__fish_guix_using_command $guix_command" -l url= -d "use the Git repository at URL"
1030complete -x -c guix -n "__fish_guix_using_command $guix_command" -l commit= -d "use the specified COMMIT"
1031complete -x -c guix -n "__fish_guix_using_command $guix_command" -l branch= -d "use the tip of the specified BRANCH"
1032complete -f -c guix -n "__fish_guix_using_command $guix_command" -l disable-authentication -d "disable channel authentication"
1033complete -f -c guix -n "__fish_guix_using_command $guix_command" -l no-check-certificate -d "do not validate the certificate of HTTPS servers"
1034# guix time-machine --
1035complete -x -c guix -n "__fish_guix_using_command $guix_command; and not __fish_seen_subcommand_from --" -a "--"
1036complete -x -c guix -n "__fish_guix_using_command $guix_command; and __fish_seen_subcommand_from --" -a "(__fish_guix_complete_subcommand)"
1037
1038
1039set -l guix_command upgrade
1040complete -x -c guix -n "__fish_guix_using_command $guix_command" -s p -l profile= -d "use PROFILE instead of the user's default profile" -a "(__fish_complete_directories)"
1041complete -x -c guix -n "__fish_guix_using_command $guix_command" -s v -l verbosity= -d "use the given verbosity LEVEL"
1042complete -f -c guix -n "__fish_guix_using_command $guix_command" -l do-not-upgrade -d "do not upgrade any packages matching REGEXP" -a "REGEXP"
1043
1044
1045set -l guix_command weather
1046complete -x -c guix -n "__fish_guix_using_command $guix_command" -l substitute-urls= -d "check for available substitutes at URLS" -a "$guix_substitute_urls"
1047complete -r -c guix -n "__fish_guix_using_command $guix_command" -s m -l manifest= -d "look up substitutes for packages specified in MANIFEST"
1048complete -x -c guix -n "__fish_guix_using_command $guix_command" -s e -l expression= -d "look up substitutes for the package EXPR evaluates to"
1049complete -f -c guix -n "__fish_guix_using_command $guix_command" -s c -l coverage -d "show substitute coverage for packages with at least COUNT dependents" -a "COUNT"
1050complete -f -c guix -n "__fish_guix_using_command $guix_command" -l display-missing -d "display the list of missing substitutes"