Nix Flake
@nickgerace/nix-flakev2026.03.09.1
01README
Manage Nix flakes: fetch metadata, show outputs, check, update, and build
02Behaviors
nix_flake.tsv2026.03.09.1
Global Arguments
| Argument | Type | Description |
|---|---|---|
| flakeRef | string | Flake reference: a local path (e.g. '/path/to/repo' or '.') or a remote ref (e.g. 'github:owner/repo') |
fn metadata()
Fetch flake metadata (inputs, revision, last modified) via `nix flake metadata --json`
fn show()
Show flake output tree via `nix flake show --json`
fn check(buildAll: boolean)
Run `nix flake check` to validate the flake
| Argument | Type | Description |
|---|---|---|
| buildAll | boolean | Pass --build to also build all derivations (slower) |
fn update(inputs: array)
Update flake.lock via `nix flake update`
| Argument | Type | Description |
|---|---|---|
| inputs | array | Specific input names to update (empty = update all) |
fn build(outputAttr: string, noLink: boolean, printBuildLogs: boolean)
Build a flake output attribute via `nix build`
| Argument | Type | Description |
|---|---|---|
| outputAttr | string | Output attribute to build, e.g. 'packages.x86_64-linux.default' or just 'default' |
| noLink | boolean | Pass --no-link to avoid creating a result symlink |
| printBuildLogs | boolean | Pass -L to print build logs |
Resources
metadata— Flake metadata from `nix flake metadata`
outputs— Flake output tree from `nix flake show`
build— Result of `nix build` for a specific output attribute
check— Result of `nix flake check`
03Stats
D
40 / 100
Downloads
106
Archive size
3.5 KB
- Has README or module doc0/2missing
- README has a code example0/1missing
- README is substantive0/1missing
- Most symbols documented0/1missing
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License0/2missing
no SPDX license declared; no LICENSE file
- Verified public repository0/2missing
04Platforms
05Labels