Expand description
Canonical nix CLI invocations. Every builder returns a
pre-configured Command ready for spawn() (with whatever
stdio + env the caller layers on).
Functions§
- build_
dry_ run nix build --dry-run --print-out-paths --no-link <installable>— print the would-be-built out paths without realising derivations.- eval_
expr nix eval --impure --json --expr <expr>— evaluate a literal expression and emit a JSON value on stdout.- eval_
installable nix eval --impure --json <installable>— evaluate an installable (a flake-attribute reference).- flake_
check nix flake check <flake-ref>— type-check the flake.- flake_
show nix flake show --json <flake-ref>— print the flake’s output inventory.