REA Nix flakes notes (unofficial)
For legal, authorized and educational use only. Only analyze software you own or have written permission to examine. This page is not the official REA documentation.
Quick answer
Nix flakes use flake.nix + flake.lock to pin input identity for reproducible builds. In REA 6.7.x, treat flake.lock as Evidence beside archive/native routes — not as a Nix evaluator.
Mental model
- Authorize the flake files (+ any local store paths/artifacts you hold).
- Quote selected locked
nodes/ rev / narHash (or equivalent) lines you actually see. - Built archives/binaries → documented REA routes on absolute paths.
- Distro package cousins → rea-debian-debs / rea-rpm-specs when the case is
.deb/.rpm, not flakes. - Do not invent a nixpkgs closure REA never evaluated.
Minimal path
# authorized flake.lock (+ flake.nix / local outputs you hold)
# quote selected locked inputs into case notes
# REA archive/native routes on /absolute/path/artifact --json
# do not invent: rea inspect_flake .
Compare
| Artifact | Honest posture |
|---|---|
flake.lock | Locked input identity facts |
flake.nix | Declared inputs/outputs (quote, don't eval) |
| SBOM cousins | rea-sbom-notes |
| .deb / .rpm cousins | rea-debian-debs / rea-rpm-specs |
Scope we will not cover
- No inventing
inspect_flake/ automatic nixpkgs crawlers. - No binary-cache or forge credential theft.
- No pirate redistribution of proprietary flake inputs.
- No crack framing for commercial apps packaged with Nix.
RepoRead is unofficial. Prefer lock/archive honesty + DISCLAIMER.md.
FAQ
flake.nix vs flake.lock?
flake.nix declares inputs/outputs; flake.lock pins resolved revisions/hashes. Quote lock pins you actually see when identity matters.
Is there inspect_flake in 6.7.0?
Not assumed. Quote locked inputs, then hand local store paths/archives/binaries to documented routes. Do not invent inspect_flake.
Does REA run nix build or talk to GitHub/gitlab inputs?
No. Local trees and artifacts only. No forge credential theft.
Missing lock / impure eval?
Record the gap. Do not invent a nix flake metadata result REA never ran.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).