mirror of https://github.com/CrimsonTome/tldr.git
13 lines
302 B
Markdown
13 lines
302 B
Markdown
|
# nix-build
|
||
|
|
||
|
> Build a Nix expression.
|
||
|
> More information: <https://nixos.org/releases/nix/latest/manual#sec-nix-build>.
|
||
|
|
||
|
- Build a Nix expression:
|
||
|
|
||
|
`nix-build --attr {{expression_name}}`
|
||
|
|
||
|
- Build a sandboxed Nix expression (on non-nixOS):
|
||
|
|
||
|
`nix-build --attr {{expression_name}} --option sandbox true`
|