REA flake.nix notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

flake.nix pins Nix flake identity. In REA 6.7.x, treat selected inputs/outputs as Evidence beside archive/package routes — complementing rea-nix-flakes without inventing APIs.

Mental model

  1. Authorize the flake.nix (+ lock if present, artifacts you hold).
  2. Quote selected inputs / outputs / description pins you actually see.
  3. Broad flakes cousin → rea-nix-flakes; mise cousin → rea-mise-toml.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a flake.nix API REA never called.

Minimal path

# authorized flake.nix (+ artifact you hold)
# quote selected input/output pins into case notes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_flake_nix .

Compare

ArtifactHonest posture
flake.nixFlake input/output identity facts
flakes cousinrea-nix-flakes
devcontainer cousinrea-devcontainer-json
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_flake_nix / automatic nix builds.
  • No credential theft from flake inputs or secrets.
  • No pirate redistribution of paid artifacts.
  • No crack framing via flake pins.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-nix-flakes?

rea-nix-flakes orients Nix flakes identity broadly. This page zooms on flake.nix input/output pins as Evidence — it does not overwrite that page.

Is there inspect_flake_nix in 6.7.0?

Not assumed. Quote inputs/outputs you actually open, then use documented package/archive lanes. Do not invent inspect_flake_nix.

Does REA evaluate flakes or steal secrets from them?

No. Local trees only. Do not treat REA as nix develop; redact secrets in Evidence.

flake.nix vs mise / devcontainer?

Label Evidence by the file present. Keep this flake lane separate from rea-mise-toml and rea-devcontainer-json.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources