Files
notes/Projects/Infrastructure/Nix commands (Flakes).md

21 lines
402 B
Markdown

## Table of contents
- [`nix build`](##`nix build`)
### `nix build`
Command to build nix packages, either locally sourced or from third parties (like nixpkgs)
### Example
#### Local
Set something to build inside your Nix flake (`flake.nix`) then run `nix build`
```nix
```
#### Third party/Remote
You can either grab something from GitHub (using the `github:user/repo*#optional_pkg`) or a URL