nix-build: add page

This commit is contained in:
Americo 2019-10-29 13:53:38 -07:00 committed by Starbeamrainbowlabs
parent 5ea2e7decf
commit 9a09ce6256

12
pages/common/nix-build.md Normal file
View File

@ -0,0 +1,12 @@
# 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`