complete-f-c guix -n'__fish_guix_needs_command'-a build -d'Build the given PACKAGE-OR-DERIVATION and return their output paths.'
complete-f-c guix -n'__fish_guix_using_command build'-a"--expression="-d'build the package or derivation EXPR evaluates to'
complete-f-c guix -n'__fish_guix_using_command build'-s f -d'build the package or derivation that the code within FILE evaluates to'--exclusive--arguments"(ls -ap)"
# The command below is broken:
complete-f-c guix -n'__fish_guix_using_command build'-a'--file='-a'(ls -ap)'-d'build the package or derivation that the code within FILE evaluates to'
complete-f-c guix -n'__fish_guix_using_command build'-s S -lsource-d'build the packages\'source derivations'
complete-f-c guix -n'__fish_guix_using_command build'-l sources -d'build source derivations, TYPE may optionally be one of "package", "all" (default), or "transitive"'-a"package all transitive"-a"package all transitive"
complete-f-c guix -n'__fish_guix_using_command build'-s s -d'attempt to build for SYSTEM--e.g., "i686-linux"'
complete-f-c guix -n'__fish_guix_using_command build'-a"--system="-d'attempt to build for SYSTEM--e.g., "i686-linux"'
complete-f-c guix -n'__fish_guix_using_command build'-a"--target="-d'cross-build for TRIPLET--e.g., "armel-linux-gnu"'
complete-f-c guix -n'__fish_guix_using_command build'-s d -l derivations -d'return the derivation paths of the given packages'
complete-f-c guix -n'__fish_guix_using_command build'-l check -d'rebuild items to check for non-determinism issues'
complete-f-c guix -n'__fish_guix_using_command build'-l repair -d'repair the specified items'
complete-f-c guix -n'__fish_guix_using_command build'-s r -d'make FILE a symlink to the result, and register it as a garbage collector root'
complete-f-c guix -n'__fish_guix_using_command build'-a"--root="-d'make FILE a symlink to the result, and register it as a garbage collector root'
complete-f-c guix -n'__fish_guix_using_command build'-s q -l quiet -d'do not show the build log'
complete-f-c guix -n'__fish_guix_using_command build'-l log-file -d'return the log file names for the given derivations'
complete-f-c guix -n'__fish_guix_using_command build'-s L -d'prepend DIR to the package module search path'
complete-f-c guix -n'__fish_guix_using_command build'-a"--load-path="-d'prepend DIR to the package module search path'
complete-f-c guix -n'__fish_guix_using_command build'-s K -l keep-failed -d'keep build tree of failed builds'
complete-f-c guix -n'__fish_guix_using_command build'-s k -l keep-going -d'keep going when some of the derivations fail'
complete-f-c guix -n'__fish_guix_using_command build'-s n -l dry-run -d'do not build the derivations'
complete-f-c guix -n'__fish_guix_using_command build'-l fallback -d'fall back to building when the substituter fails'
complete-f-c guix -n'__fish_guix_using_command build'-l no-substitutes -d'build instead of resorting to pre-built substitutes'
complete-f-c guix -n'__fish_guix_using_command build'-a"--substitute-urls="-d'fetch substitute from URLS if they are authorized'
complete-f-c guix -n'__fish_guix_using_command build'-l no-grafts -d'do not graft packages'
complete-f-c guix -n'__fish_guix_using_command build'-l no-build-hook -d'do not attempt to offload builds via the build hook'
complete-f-c guix -n'__fish_guix_using_command build'-a"--max-silent-time="-d'mark the build as failed after SECONDS of silence'
complete-f-c guix -n'__fish_guix_using_command build'-a"--timeout="-d'mark the build as failed after SECONDS of activity'
complete-f-c guix -n'__fish_guix_using_command build'-a"--verbosity="-d'use the given verbosity LEVEL'
complete-f-c guix -n'__fish_guix_using_command build'-a"--rounds="-d'build N times in a row to detect non-determinism'
complete-f-c guix -n'__fish_guix_using_command build'-s c -d'allow the use of up to N CPU cores for the build'
complete-f-c guix -n'__fish_guix_using_command build'-a"--cores="-d'allow the use of up to N CPU cores for the build'
complete-f-c guix -n'__fish_guix_using_command build'-s M -d'allow at most N build jobs'
complete-f-c guix -n'__fish_guix_using_command build'-a"--max-jobs="-d'allow at most N build jobs'
complete-f-c guix -n'__fish_guix_using_command build'-a"--with-source="-d'use SOURCE when building the corresponding package'
complete-f-c guix -n'__fish_guix_using_command build'-a"--with-input="-d'PACKAGE=REPLACEMENT .. replace dependency PACKAGE by REPLACEMENT'
complete-f-c guix -n'__fish_guix_using_command build'-a"--with-graft="-d'PACKAGE=REPLACEMENT .. graft REPLACEMENT on packages that refer to PACKAGE'
complete-f-c guix -n'__fish_guix_needs_command'-a size -d'Report the size of PACKAGE and its dependencies.'
complete-f-c guix -n'__fish_guix_using_command size'-a"--substitute-urls="-d'fetch substitute from URLS if they are authorized'
complete-f-c guix -n'__fish_guix_using_command size'-a"--system="-d'consider packages for SYSTEM--e.g., "i686-linux"'
complete-f-c guix -n'__fish_guix_using_command size'-a"--map-file="-d'write to FILE a graphical map of disk usage'
#### refresh
set-lremotecommands expression update select type list-updaters list-dependent key-server gpg key-download
complete-f-c guix -n'__fish_guix_needs_command'-a refresh -d'Update package definitions to match the latest upstream version'
# FIXME: Too long. When PACKAGE... is given, update only the specified packages. Otherwise update all the packages of the distribution, or the subset thereof specified with `--select`.'
complete-f-c guix -n'__fish_guix_using_command refresh'-a"--expression="-d'consider the package EXPR evaluates to'
complete-f-c guix -n'__fish_guix_using_command refresh'-l update -d'update source files in place'
#complete -f -c guix -n '__fish_guix_using_command refresh' -l select= -d 'select all the packages in SUBSET, one of `core` or `non-core`' --exclusive --arguments "core non-core"
complete-f-c guix -n'__fish_guix_using_command refresh'-a"--select="-d'select all the packages in SUBSET, one of `core` or `non-core`'--exclusive--arguments"core non-core"
complete-f-c guix -n'__fish_guix_using_command refresh'-a"--type="-d'restrict to updates from the specified updaters (e.g., \'gnu\')' --exclusive--arguments"gnu gnome kde xorg kernel.org elpa cran bioconductor cpan pypi gem github hackage crate"
complete-f-c guix -n'__fish_guix_using_command refresh'-l list-updaters -d'list available updaters and exit'
complete-f-c guix -n'__fish_guix_using_command refresh'-l list-dependent -d'list top-level dependent packages that would need to be rebuilt as a result of upgrading PACKAGE'
complete-f-c guix -n'__fish_guix_using_command refresh'-a"--key-server="-d'use HOST as the OpenPGP key server'
complete-f-c guix -n'__fish_guix_using_command refresh'-a"--gpg="-d'use COMMAND as the GnuPG 2.x command'
complete-f-c guix -n'__fish_guix_using_command refresh'-a"--key-download="-d'handle missing OpenPGP keys according to POLICY.'--exclusive--arguments"always never interactive"
complete-f-c guix -n'__fish_guix_needs_command'-a import -d'Run IMPORTER with ARGS'
##### import gnu
complete-f-c guix -n'__fish_guix_using_command import; and not __fish_seen_subcommand_from $remotecommands'-a gnu -d'Return a package declaration template for PACKAGE, a GNU package.'
complete-f-c guix -n'__fish_guix_using_command import; and __fish_seen_subcommand_from gnu'-a"--key-download="-d'handle missing OpenPGP keys according to POLICY: "always", "never", and "interactive", which is also used when "key-download" is not specified.'
##### import nix
complete-f-c guix -n'__fish_guix_using_command import; and not __fish_seen_subcommand_from $remotecommands'-a nix -d'Import and convert the Nix expression ATTRIBUTE of NIXPKGS.'
##### import pypi
complete-f-c guix -n'__fish_guix_using_command import; and not __fish_seen_subcommand_from $remotecommands'-a pypi -d'Import and convert the PyPI package for PACKAGE-NAME.'
##### import cpan
complete-f-c guix -n'__fish_guix_using_command import; and not __fish_seen_subcommand_from $remotecommands'-a cpan -d'Import and convert the CPAN package for PACKAGE-NAME.'
##### import hackage
complete-f-c guix -n'__fish_guix_using_command import; and not __fish_seen_subcommand_from $remotecommands'-a hackage -d'Import and convert the Hackage package for PACKAGE-NAME. If PACKAGE-NAME includes a suffix constituted by a at-sign followed by a numerical version (as used with Guix packages), then a definition for the specified version of the package will be generated. If no version suffix is pecified, then the generated package definition will correspond to the latest available version.'
complete-f-c guix -n'__fish_guix_using_command import; and __fish_seen_subcommand_from hackage'-s e -d'ALIST specify environment for Cabal evaluation.'
complete-f-c guix -n'__fish_guix_using_command import; and __fish_seen_subcommand_from hackage'-a"--cabal-environment="-d'ALIST specify environment for Cabal evaluation.'
complete-f-c guix -n'__fish_guix_using_command import; and __fish_seen_subcommand_from hackage'-s s -l stdin -d'Read from standard input.'
complete-f-c guix -n'__fish_guix_using_command import; and __fish_seen_subcommand_from hackage'-s t -l no-test-dependencies -d'don\'t include test-only dependencies.'
##### import elpa
complete-f-c guix -n'__fish_guix_using_command import; and not __fish_seen_subcommand_from $remotecommands'-a elpa -d'Import the latest package named PACKAGE-NAME from an ELPA repository.'
complete-f-c guix -n'__fish_guix_using_command import; and __fish_seen_subcommand_from elpa'-s a -d'specify the archive repository'--exclusive--arguments"gnu melpa-stable melpa"
complete-f-c guix -n'__fish_guix_using_command import; and __fish_seen_subcommand_from elpa'-a"--archive="-d'specify the archive repository'--exclusive--arguments"gnu melpa-stable melpa"
##### import gem
complete-f-c guix -n'__fish_guix_using_command import; and not __fish_seen_subcommand_from $remotecommands'-a gem -d'Import and convert the RubyGems package for PACKAGE-NAME.'
##### import cran
complete-f-c guix -n'__fish_guix_using_command import; and not __fish_seen_subcommand_from $remotecommands'-a cran -d'Import and convert the CRAN package for PACKAGE-NAME.'
complete-f-c guix -n'__fish_guix_using_command import; and __fish_seen_subcommand_from cran'-s a -d'specify the archive repository'--exclusive--arguments"bioconductor cran"
complete-f-c guix -n'__fish_guix_using_command import; and __fish_seen_subcommand_from cran'-a"--archive="-d'specify the archive repository'--exclusive--arguments"bioconductor cran"
complete-f-c guix -n'__fish_guix_using_command import; and __fish_seen_subcommand_from cran'-l recursive -d'traverse the dependency graph of the given package recursively and generate package definitions for all those packages that are not yet in Guix'
##### import crate
complete-f-c guix -n'__fish_guix_using_command import; and not __fish_seen_subcommand_from $remotecommands'-a crate -d'Import and convert the crate.io package for PACKAGE-NAME.'
##### import json
complete-f-c guix -n'__fish_guix_using_command import; and not __fish_seen_subcommand_from $remotecommands'-a json -d'Import and convert the JSON package definition in PACKAGE-FILE.'
##### import texlive
complete-f-c guix -n'__fish_guix_using_command import; and not __fish_seen_subcommand_from $remotecommands'-a texlive -d'Import and convert the Texlive package for PACKAGE-NAME.'
complete-f-c guix -n'__fish_guix_using_command import; and __fish_seen_subcommand_from texlive'-s a -l"--archive="-d'specify the archive repository'
#### hash
set-lremotecommands exclude-vcs format= recursive
complete-f-c guix -n'__fish_guix_needs_command'-ahash-d'Return the cryptographic hash of a FILE.'
complete-f-c guix -n'__fish_guix_using_command hash'-s x -l exclude-vcs -d'Exclude version control directories.'
complete-f-c guix -n'__fish_guix_using_command hash'-s f -d'Write the hash in the given format.'--exclusive--arguments"nix-base32 base32 base16 hex hexadecimal"
complete-f-c guix -n'__fish_guix_using_command hash'-a"--format="-d'Write the hash in the given format.'--exclusive--arguments"nix-base32 base32 base16 hex hexadecimal"
complete-f-c guix -n'__fish_guix_using_command hash'-s r -l recursive -d'Compute the hash on FILE recursively.'
#### graph
set-lremotecommands backend list-backends type list-types expression
complete-f-c guix -n'__fish_guix_needs_command'-a graph -d'Emit a Graphviz (dot) representation of the dependencies of a PACKAGE.'
complete-f-c guix -n'__fish_guix_using_command graph'-l backend -d'Produce a graph with the given backend TYPE'
complete-f-c guix -n'__fish_guix_using_command graph'-l list-backends -d'list the available graph backends'
complete-f-c guix -n'__fish_guix_using_command graph'-ltype-d'represent nodes of the given TYPE'
complete-f-c guix -n'__fish_guix_using_command graph'-l list-types -d'list the available graph types'
complete-f-c guix -n'__fish_guix_needs_command'-a environment -d'Build an environment that includes the dependencies of PACKAGE and execute COMMAND or an interactive shell in that environment.'
complete-f-c guix -n'__fish_guix_using_command environment'-s e -d'Create environment for the package that EXPR evaluates to'
complete-f-c guix -n'__fish_guix_using_command environment'-a"--expression="-d'Create environment for the package that EXPR evaluates to'
complete-f-c guix -n'__fish_guix_using_command environment'-s l -d'create environment for the package that the code within FILE evaluates to.'
complete-f-c guix -n'__fish_guix_using_command environment'-a"--load="-d'create environment for the package that the code within FILE evaluates to.'
complete-f-c guix -n'__fish_guix_using_command environment'-l ad-hoc -d'include all specified packages in the environment instead of only their inputs'
complete-f-c guix -n'__fish_guix_using_command environment'-l pure -d'unset existing environment variables'
complete-f-c guix -n'__fish_guix_using_command environment'-s s -d'attempt to build for SYSTEM--e.g., "i686-linux"'
complete-f-c guix -n'__fish_guix_using_command environment'-a"--system="-d'attempt to build for SYSTEM--e.g., "i686-linux"'
complete-f-c guix -n'__fish_guix_using_command environment'-s r -d'make FILE a symlink to the result, and register it as a garbage collector root'
complete-f-c guix -n'__fish_guix_using_command environment'-a"--root="-d'make FILE a symlink to the result, and register it as a garbage collector root'
complete-f-c guix -n'__fish_guix_using_command environment'-s C -l container -d'run command within an isolated container'
complete-f-c guix -n'__fish_guix_using_command environment'-s N -l network -d'allow containers to access the network'
complete-f-c guix -n'__fish_guix_using_command environment'-a"--share="-d'for containers, share writable host file system according to SPEC'
complete-f-c guix -n'__fish_guix_using_command environment'-a"--expose="-d'for containers, expose read-only host file system according to SPEC'
complete-f-c guix -n'__fish_guix_using_command environment'-l bootstrap -d'use bootstrap binaries to build the environment'
complete-f-c guix -n'__fish_guix_using_command environment'-s L -d'prepend DIR to the package module search path'
complete-f-c guix -n'__fish_guix_using_command environment'-a"--load-path="-d'prepend DIR to the package module search path'
complete-f-c guix -n'__fish_guix_using_command environment'-s K -l keep-failed -d'keep build tree of failed builds'
complete-f-c guix -n'__fish_guix_using_command environment'-s k -l keep-going -d'keep going when some of the derivations fail'
complete-f-c guix -n'__fish_guix_using_command environment'-s n -l dry-run -d'do not build the derivations'
complete-f-c guix -n'__fish_guix_using_command environment'-l fallback -d'fall back to building when the substituter fails'
complete-f-c guix -n'__fish_guix_using_command environment'-l no-substitutes -d'build instead of resorting to pre-built substitutes'
complete-f-c guix -n'__fish_guix_using_command environment'-a"--substitute-urls="-d'fetch substitute from URLS if they are authorized'
complete-f-c guix -n'__fish_guix_using_command environment'-l no-grafts -d'do not graft packages'
complete-f-c guix -n'__fish_guix_using_command environment'-l no-build-hook -d'do not attempt to offload builds via the build hook'
complete-f-c guix -n'__fish_guix_using_command environment'-a"--max-silent-time="-d'mark the build as failed after SECONDS of silence'
complete-f-c guix -n'__fish_guix_using_command environment'-a"--timeout="-d'mark the build as failed after SECONDS of activity'
complete-f-c guix -n'__fish_guix_using_command environment'-a"--verbosity="-d'use the given verbosity LEVEL'
complete-f-c guix -n'__fish_guix_using_command environment'-a"--rounds="-d'build N times in a row to detect non-determinism'
complete-f-c guix -n'__fish_guix_using_command environment'-s c -d'allow the use of up to N CPU cores for the build'
complete-f-c guix -n'__fish_guix_using_command environment'-a"--cores="-d'allow the use of up to N CPU cores for the build'
complete-f-c guix -n'__fish_guix_using_command environment'-s M -d'allow at most N build jobs'
complete-f-c guix -n'__fish_guix_using_command environment'-a"--max-jobs="-d'allow at most N build jobs'
#### edit
complete-f-c guix -n'__fish_guix_needs_command'-a edit -d'Start $VISUAL or $EDITOR to edit the definitions of PACKAGE.'