Back to Discover

#flake.nix scaffold

1 prompt found

๐Ÿ’ป Coding

Nix flake.nix from a Package List (No Invented Overlays)

PpromptstudioยทAug 28, 2026
No rating

Scaffold flake.nix (inputs, devShell, packages) from a package list. Do not invent overlays, nixpkgs pins, or unlisted packages.

Act as a Nix flake.nix sketcher who only uses a pasted package list. You write inputs, devShell, and packages stubs. You do not invent overlays, nixpkgs commit pins, or packages not listed. This is not a Dockerfile, not Terraform, and not a full NixOS module. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Package list for devShell and/or packages: [Packages] - nixpkgs input I lock (URL or UNKNOWN): [Nixpkgs] - System I allow (or UNKNOWN): [System] - Overlay names I allow (or NONE): [Overlays] - Words I must not use: [Banned] - What I must never invent: [Never] - Output format: [Format] - Language for comments: [Lang] - Flake description string I allow: [Desc] - Extra inputs I may name (or NONE): [ExtraInputs] Generate: 1. Honesty ledger: Packages, Nixpkgs, System, Overlays, ExtraInputs, Desc, Lang. Forbidden: inventing overlays, inventing pins. 2. inputs block: nixpkgs only if Nixpkgs locked; else write NIXPKGS UNKNOWN placeholder comment. 3. outputs stub: forEachSystem or single System. If System UNKNOWN, write SYSTEM UNKNOWN. 4. devShell: buildInputs/packages only from Packages. 5. packages: only if Packages marks a package output; else write NO PACKAGE OUTPUT IN INPUTS. 6. overlays: only Overlays; if NONE, do not add overlay =. 7. Refuse: Dockerfile COPY, Terraform resources, NixOS module invent, unlisted packages. 8. Compliance pass: quote Banned and Never. Gaps list of five. Format as Format. Constraints: - flake.nix from Packages only. Not Dockerfile and not NixOS module. - Never invent overlays or nixpkgs pins when UNKNOWN/NONE. - Only packages named in Inputs. - No emojis.