nix-build.3
builds Nix packages
TLDR
Build expression
$ nix-build [file.nix]
Build with arguments$ nix-build --arg [name] [value]
Build keeping logs$ nix-build --keep-going
Show derivation$ nix-build --dry-run
SYNOPSIS
nix-build [options] [path]
DESCRIPTION
nix-build builds Nix packages. This is another documentation variant.
The tool processes Nix files. Outputs to Nix store with result symlink.
PARAMETERS
PATH
Path to Nix expression.--arg NAME VALUE
Pass argument to expression.--keep-going
Continue on errors.--dry-run
Show what would be built.--help
Display help information.
CAVEATS
Requires Nix installation. Expression evaluation. Store path outputs.
HISTORY
nix-build provides derivation building as part of the core Nix toolchain.

