Skip to main content

Nix Flake

@nickgerace/nix-flakev2026.03.09.1· 8mo agoBEHAVIORS
01README

Manage Nix flakes: fetch metadata, show outputs, check, update, and build

02Behaviors1
nix_flake.tsv2026.03.09.1

Global Arguments

ArgumentTypeDescription
flakeRefstringFlake 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
ArgumentTypeDescription
buildAllbooleanPass --build to also build all derivations (slower)
fn update(inputs: array)
Update flake.lock via `nix flake update`
ArgumentTypeDescription
inputsarraySpecific input names to update (empty = update all)
fn build(outputAttr: string, noLink: boolean, printBuildLogs: boolean)
Build a flake output attribute via `nix build`
ArgumentTypeDescription
outputAttrstringOutput attribute to build, e.g. 'packages.x86_64-linux.default' or just 'default'
noLinkbooleanPass --no-link to avoid creating a result symlink
printBuildLogsbooleanPass -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