Scroll to navigation



guix build (GNU Guix) - manual page for guix build (GNU Guix) 1.2.0rc2


guix archive [OPTION]... PACKAGE...


Export/import one or more packages from/to the store.
export the specified files/packages to stdout
-r, --recursive
combined with '--export', include dependencies
import from the archive passed on stdin
print the files from stdin that are missing
-x, --extract=DIR
extract the archive on stdin to DIR
-t, --list
list the files in the archive on stdin
generate a key pair with the given parameters
authorize imports signed by the public key on stdin
-e, --expression=EXPR
build the package or derivation EXPR evaluates to
-S, --source
build the packages' source derivations
-s, --system=SYSTEM
attempt to build for SYSTEM--e.g., "i686-linux"
cross-build for TRIPLET--e.g., "armel-linux-gnu"
-v, --verbosity=LEVEL
use the given verbosity LEVEL
-L, --load-path=DIR
prepend DIR to the package module search path
-K, --keep-failed
keep build tree of failed builds
-k, --keep-going
keep going when some of the derivations fail
-n, --dry-run
do not build the derivations
fall back to building when the substituter fails
build instead of resorting to pre-built substitutes
fetch substitute from URLS if they are authorized
do not graft packages
do not attempt to offload builds
mark the build as failed after SECONDS of silence
mark the build as failed after SECONDS of activity
build N times in a row to detect non-determinism
-c, --cores=N
allow the use of up to N CPU cores for the build
-M, --max-jobs=N
allow at most N build jobs
produce debugging output at LEVEL
-h, --help
display this help and exit
-V, --version
display version information and exit


Report bugs to:
GNU Guix home page: <>
General help using Guix and GNU software: <>


Copyright © 2020 the Guix authors License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.


The full documentation for guix build (GNU Guix) is maintained as a Texinfo manual. If the info and guix build (GNU Guix) programs are properly installed at your site, the command
info guix

should give you access to the complete manual.