Scroll to navigation

GUIX(1) User Commands GUIX(1)

NAME

guix - manual page for guix build (GNU Guix) 1.3.0.27848-a3264

SYNOPSIS

guix build [OPTION]... PACKAGE-OR-DERIVATION...

DESCRIPTION

Build the given PACKAGE-OR-DERIVATION and return their output paths.

build the package or derivation EXPR evaluates to
build the package or derivation that the code within FILE evaluates to
build the packages that the manifest given in FILE evaluates to
build the packages' source derivations
build source derivations; TYPE may optionally be one of "package", "all" (default), or "transitive"
return the derivation paths of the given packages
rebuild items to check for non-determinism issues
repair the specified items
make FILE a symlink to the result, and register it as a garbage collector root
use the given verbosity LEVEL
do not show the build log
return the log file names for the given derivations
prepend DIR to the package module search path
keep build tree of failed builds
keep going when some of the derivations fail
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
allow the use of up to N CPU cores for the build
allow at most N build jobs
produce debugging output at LEVEL
list available targets
cross-build for TRIPLET--e.g., "aarch64-linux-gnu"
list available systems
attempt to build for SYSTEM--e.g., "i686-linux"
list package transformation options not shown here
display this help and exit
display version information and exit

REPORTING BUGS

Report bugs to: bug-guix@gnu.org.
GNU Guix home page: <https://www.gnu.org/software/guix/>
General help using Guix and GNU software: <https://guix.gnu.org/en/help/>

COPYRIGHT

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

SEE ALSO

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

info guix

should give you access to the complete manual.

November 2022 GNU