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

17 lines
365 B
Markdown
Raw Normal View History

2024-07-11 22:14:11 -04:00
## Table of contents
2024-07-11 22:17:11 -04:00
- [`nix build`](##`nix build`)
2024-07-11 22:14:11 -04:00
2024-07-11 22:15:11 -04:00
### `nix build`
Command to build nix packages, either locally sourced or from third parties (like nixpkgs)
2024-07-11 22:16:11 -04:00
### Example
#### Local
2024-07-11 22:18:11 -04:00
Set something to build inside your Nix flake (`flake.nix`) then run `nix build`
#### Third party/Remote
You can either grab something from GitHub (using the `github:user/rep`)