Repository navigation
Make flake-lib's AGENTS.md the fleet's flake standard - #118
Merged
Merged
Conversation
This was referenced Nov 4, 2026
added 2 commits
November 4, 2026 11:39
flake-lib owns the shared implementation of the fleet's flake structure, so it owns the instruction for working with it too. AGENTS.md carries the standard -- ownership across flake.nix, pin.nix, and flake.lock, the input follows rule, the producer README and licence rules, authoring, pin shapes, toolchain selection, python payloads and overlays, CUDA, build verification, and how to change the library and the standard. CLAUDE.md is the usual compatibility symlink. README stops restating interfaces: the nix API block, the inline tagPrefix source fragment, the workflow and pin skeletons, and the flag enumerations become prose naming each lib export and the file owning it. Two facts were wrong against the implementation while doing that: a caller's meta is merged key-wise over mkHuggingfaceModelManager's default, and imageDigest is on the mkOciImage passthru. The follows edge on flake-lib.inputs.nixpkgs was documented as one to leave off because the formatter's tools resolve from flake-lib's nixpkgs, which made the wrong rule the README's and let it propagate into producer trees. A flake's formatter runs only in its own root against its own lock, so the version that root resolves is canonical there and formatter disagreement is not a blocking reason to drop an edge.
The separator row was written wider than the cells, so the org formatter pads the rest of the table to match it.
jgus-bot
force-pushed
the
agent/locate-flake-agent-i-b9f
branch
from
November 4, 2026 18:40
f904b49 to
1be8380
Compare
jgus
pushed a commit
to jgus-org/vscode-sops-flake
that referenced
this pull request
Nov 4, 2026
* Track nixos-unstable and follow it on the flake-lib input An input follows every input the parent already pins unless a specific technical reason blocks it; jgus-org/flake-lib#118 makes that the fleet rule. This flake could not take the edge as it was pinned: mkFormatting puts pkgs pedantix in the nixfmt wrapper's runtime inputs, so following flake-lib's nixpkgs makes that requirement this tree's own, and nixos-26.05 has no pedantix. Both the formatter and checks.formatting come from that one binding, so with the edge on 26.05 the flake does not evaluate at all, and nix fmt is unreachable here rather than merely unchecked. Tracking nixos-unstable removes the block for the reason the flake exists: the extension follows upstream releases, and a stable channel is what made this tree the fleet's exception. nixos-unstable carries pedantix, the edge is satisfiable, and the tree now builds and checks on one nixpkgs instead of two. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this file links it instead of carrying a copy, and keeps the repository-specific rule about README.md in place beside it. CLAUDE.md is the usual compatibility symlink. --------- Co-authored-by: Agent <[email protected]>
jgus
pushed a commit
to jgus-org/bun-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's lib evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path, and the formatting check passes unchanged. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. --------- Co-authored-by: Agent <[email protected]>
jgus
pushed a commit
to jgus-org/caddy-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's lib evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path, and the formatting check passes unchanged. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. --------- Co-authored-by: Agent <[email protected]>
This was referenced Nov 4, 2026
Merged
Merged
jgus
pushed a commit
to jgus-org/clipcascade-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's library evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. --------- Co-authored-by: Agent <[email protected]>
jgus
pushed a commit
to jgus-org/code-server-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's library evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. --------- Co-authored-by: Agent <[email protected]>
jgus
pushed a commit
to jgus-org/codex-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's library evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. --------- Co-authored-by: Agent <[email protected]>
jgus
pushed a commit
to jgus-org/netbootxyz-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's library evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. --------- Co-authored-by: Agent <[email protected]>
jgus
pushed a commit
to jgus-org/nextcloud-vfs-fuse-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's library evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. --------- Co-authored-by: Agent <[email protected]>
jgus
pushed a commit
to jgus-org/suwayomi-server-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's library evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. --------- Co-authored-by: Agent <[email protected]>
jgus
pushed a commit
to jgus-org/evdev-tools-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input This flake tracked nixos-26.05, which carries no pedantix, and mkFormatting puts pkgs.pedantix in the nixfmt wrapper's runtime inputs, so following flake-lib's nixpkgs there makes the flake fail to evaluate: the formatter and checks.formatting both come from that one binding, and nix fmt becomes unreachable in the tree rather than merely unchecked. nixos-unstable carries pedantix, and tracking it is the right channel for a flake whose purpose is pulling in upstream releases. An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's library evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. --------- Co-authored-by: Agent <[email protected]>
jgus
pushed a commit
to jgus-org/home-assistant-ociimage-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input This flake tracked nixos-26.05, which carries no pedantix, and mkFormatting puts pkgs.pedantix in the nixfmt wrapper's runtime inputs, so following flake-lib's nixpkgs there makes the flake fail to evaluate: the formatter and checks.formatting both come from that one binding, and nix fmt becomes unreachable in the tree rather than merely unchecked. nixos-unstable carries pedantix, and tracking it is the right channel for a flake whose purpose is pulling in upstream releases. An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's library evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. --------- Co-authored-by: Agent <[email protected]>
jgus
pushed a commit
to jgus-org/kde-set-mode-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input This flake tracked nixos-26.05, which carries no pedantix, and mkFormatting puts pkgs.pedantix in the nixfmt wrapper's runtime inputs, so following flake-lib's nixpkgs there makes the flake fail to evaluate: the formatter and checks.formatting both come from that one binding, and nix fmt becomes unreachable in the tree rather than merely unchecked. nixos-unstable carries pedantix, and tracking it is the right channel for a flake whose purpose is pulling in upstream releases. An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's library evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. --------- Co-authored-by: Agent <[email protected]>
jgus
pushed a commit
to jgus-org/kwin-input-bridge-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input This flake tracked nixos-26.05, which carries no pedantix, and mkFormatting puts pkgs.pedantix in the nixfmt wrapper's runtime inputs, so following flake-lib's nixpkgs there makes the flake fail to evaluate: the formatter and checks.formatting both come from that one binding, and nix fmt becomes unreachable in the tree rather than merely unchecked. nixos-unstable carries pedantix, and tracking it is the right channel for a flake whose purpose is pulling in upstream releases. An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's library evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. --------- Co-authored-by: Agent <[email protected]>
jgus
pushed a commit
to jgus-org/librechat-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input This flake tracked nixos-26.05, which carries no pedantix, and mkFormatting puts pkgs.pedantix in the nixfmt wrapper's runtime inputs, so following flake-lib's nixpkgs there makes the flake fail to evaluate: the formatter and checks.formatting both come from that one binding, and nix fmt becomes unreachable in the tree rather than merely unchecked. nixos-unstable carries pedantix, and tracking it is the right channel for a flake whose purpose is pulling in upstream releases. An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's library evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. --------- Co-authored-by: Agent <[email protected]>
jgus
pushed a commit
to jgus-org/ms-marco-reranker-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input This flake tracked nixos-26.05, which carries no pedantix, and mkFormatting puts pkgs.pedantix in the nixfmt wrapper's runtime inputs, so following flake-lib's nixpkgs there makes the flake fail to evaluate: the formatter and checks.formatting both come from that one binding, and nix fmt becomes unreachable in the tree rather than merely unchecked. nixos-unstable carries pedantix, and tracking it is the right channel for a flake whose purpose is pulling in upstream releases. An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's library evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. --------- Co-authored-by: Agent <[email protected]>
jgus
pushed a commit
to jgus-org/supermicro-x11sdv-tp8f-fw-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input This flake tracked nixos-26.05, which carries no pedantix, and mkFormatting puts pkgs.pedantix in the nixfmt wrapper's runtime inputs, so following flake-lib's nixpkgs there makes the flake fail to evaluate: the formatter and checks.formatting both come from that one binding, and nix fmt becomes unreachable in the tree rather than merely unchecked. nixos-unstable carries pedantix, and tracking it is the right channel for a flake whose purpose is pulling in upstream releases. An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's library evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. --------- Co-authored-by: Agent <[email protected]>
jgus
pushed a commit
to jgus-org/toshiba-px05-fw-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input This flake tracked nixos-26.05, which carries no pedantix, and mkFormatting puts pkgs.pedantix in the nixfmt wrapper's runtime inputs, so following flake-lib's nixpkgs there makes the flake fail to evaluate: the formatter and checks.formatting both come from that one binding, and nix fmt becomes unreachable in the tree rather than merely unchecked. nixos-unstable carries pedantix, and tracking it is the right channel for a flake whose purpose is pulling in upstream releases. An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's library evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. --------- Co-authored-by: Agent <[email protected]>
This was referenced Nov 4, 2026
jgus
pushed a commit
to jgus-org/marinara-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input This flake tracked nixos-26.05, which carries no pedantix, and mkFormatting puts pkgs.pedantix in the nixfmt wrapper's runtime inputs, so following flake-lib's nixpkgs there makes the flake fail to evaluate: the formatter and checks.formatting both come from that one binding, and nix fmt becomes unreachable in the tree rather than merely unchecked. nixos-unstable carries pedantix, and tracking it is the right channel for a flake whose purpose is pulling in upstream releases. An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's library evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. * Resolve pnpm through the series attribute the package set still provides `pnpm_10_latest` is absent from current nixpkgs, so this flake failed to evaluate once it resolved its own nixpkgs for flake-lib. `pnpm_10` is the series attribute that remains, and pin.nix already pins the exact version and hash, so the resolved pnpm is unchanged at 10.34.5. --------- Co-authored-by: Agent <[email protected]>
jgus
pushed a commit
to jgus-org/prowlarr-mcp-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input This flake already tracked nixpkgs-unstable, but was locked behind the revision that added pedantix, so the lock advances alongside the edge. An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's library evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. * Migrate the server to the MCP SDK's v2 API The SDK renamed FastMCP to MCPServer and moved it to mcp.server.mcpserver in 2.x, breaking the v1 import path at pythonImportsCheck. Context, the tool decorator, the lifespan hook, and request_context.lifespan_context carry over unchanged, so only the imports, the constructor, and the dependency floor move. mcp.server.mcpserver does not exist before 2.0, so pyproject's floor rises with the code. --------- Co-authored-by: Agent <[email protected]>
jgus
pushed a commit
to jgus-org/8bitdo-2c-re-flake
that referenced
this pull request
Nov 4, 2026
* Follow this flake's own nixpkgs on the flake-lib input This flake tracked nixos-26.05, which carries no pedantix, and mkFormatting puts pkgs.pedantix in the nixfmt wrapper's runtime inputs, so following flake-lib's nixpkgs there makes the flake fail to evaluate: the formatter and checks.formatting both come from that one binding, and nix fmt becomes unreachable in the tree rather than merely unchecked. nixos-unstable carries pedantix, and tracking it is the right channel for a flake whose purpose is pulling in upstream releases. An input follows every input the parent already pins unless a specific technical reason blocks it, and there is none here. Leaving the edge off gave this tree two nixpkgs: flake-lib's library evaluated against its own pin while the packages built against ours. Following collapses them into one. The documented reason for dropping the edge was that flake-lib's formatter tools resolve from flake-lib's nixpkgs, and following would let a repo format differently from the rest of the fleet. That reasoning is corrected in jgus-org/flake-lib#118: a flake's formatter runs only in its own root against its own lock, so the version that root resolves is already canonical for that tree. What flake-lib keeps fixed is the program set and the style files, both delivered by absolute store path. * Point the agent instruction at the fleet flake standard The standard for our flake structure lives with the shared implementation it describes, so this repository links it instead of carrying a copy. CLAUDE.md is the usual compatibility symlink. * Apply rpath before interpreter when patching the tc32 tools The pinned tc32-elf binaries are 2009 non-PIE x86-64 ELF files whose .interp reservation is far smaller than a nix-store loader path, so setting the interpreter adds a PT_LOAD covering the header page. Setting the rpath afterwards grows .dynstr and relocates .dynamic onto a page that the following executable PT_LOAD also maps, which strips writability from the tail of .dynamic; the loader's write of DT_DEBUG then faults before main. Measured with gdb: SIGSEGV in dl_main, si_addr 0x400300, inside .dynamic at 0x400218+0x1f0, faulting instruction mov %r13,0x8(%rax) just before _dl_debug_change_state. The operation order decides it, not the patchelf version. On this exact binary, with patchelf built from release tarballs using nixpkgs' recipe so only the version varies: interpreter first: runs on 0.15.2, 0.16.1, 0.18.0, 0.19.0, 0.19.1, 0.19.3; segfaults on 0.17.0, 0.17.2, 0.19.2 rpath first: runs on all nine both flags at once: same outcome as interpreter first Upstream repairs the 0.19.2 instance in 59acc3d ("Fix overlapping LOAD mappings when rewriting executable headers", NixOS/patchelf#672), released in 0.19.3; nixpkgs still builds 0.19.2 and the bump is open as NixOS/nixpkgs#582116. Rewriting in rpath-first order sidesteps the whole defect class on every version tested rather than pinning around one release. mod-batt-l4r4-dongle-v103 and mod-battery-ctrl-v109 come out byte-identical to main's, so the payloads this flake ships are unchanged. --------- Co-authored-by: Agent <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
flake-lib owns the shared implementation of the fleet's flake structure, so it now owns the instruction for working with it.
AGENTS.mdis that standard;CLAUDE.mdis the compatibility symlink, matchingjgus-org/nix.AGENTS.mdis carved fromjgus-org-nix'suse-subflakesskill plus that skill's rules for changing flake-lib and for landing a rule before applying it. Sections: ownership acrossflake.nix/pin.nix/flake.lock, dependencies and the input-follows rule, the producer README, licence and copyright, authoring a producer, pin shapes, build toolchain versions, python payloads and overlays, overlay-published producers and CUDA, depending on an unmerged change in another repository, build verification, changing flake-lib, changing a standard the fleet follows.This is the SSOT for standards and procedures; an implementation stays the SSOT for interfaces, so the file names
lib/*.nixandtemplates/workflows/for anything a caller passes, and never restates it.README stops restating interfaces
The
```nixAPI block, the inlinetagPrefixsource fragment, thegithub-release-asset/mutable-url/oci/huggingfaceskeletons, thebuildFailureHashesandbuildVerificationSkipliterals, and the updater-flag enumeration are replaced by prose that names eachlibexport and the file that owns it. Everything the README owns -- versioning, the formatter policy, the update workflows, the gate -- stays.Two claims were wrong against the implementation and are corrected: a caller's
metais merged key-wise overmkHuggingfaceModelManager's default rather than replacing it (lib/mk-huggingface-model-manager.nix:26), andimageDigestbelongs on themkOciImagepassthru list (lib/mk-oci-image.nix:22).The
followsrule is the other directionThe README told a consumer to leave the
followsedge offflake-lib.inputs.nixpkgs, becausemkFormatting's tools resolve from flake-lib'snixpkgsand following would "return the formatter drift the policy exists to remove". That was the wrong rule and it propagated: measured across the 35 activejgus-org/*-flakeproducers, all 27 that declareflake-lib.url = "github:jgus-org/flake-lib/v1";carry no edge, and all 8 that declare it in block form carryinputs.nixpkgs.follows = "nixpkgs"-- the rule and the drift split the fleet exactly along where the edge was written.Corrected, and stated where a standard belongs rather than in the interface doc: an input follows every input the parent already pins unless a specific technical reason blocks it. Formatter disagreement is not such a reason -- a flake's formatter runs only in that flake's own root against that flake's own lock, so the version that root resolves is already canonical for that tree, whatever another tree resolves. What flake-lib guarantees is the program set and the style files, both delivered by absolute store path; the tool version is the caller's to pin.
jgus-org/nixalready followsnixpkgs-unstableon this edge, so it is the rule applied, not an exception to it.Applying the edge to the existing producers is a separate sweep. The exemplar pull requests are open alongside this one, and they carry it.
What the corrected rule costs, measured on the fleet
Two exemplars pass their own gate with the edge: bun-flake#15 and caddy-flake#17. A third exemplar,
vscode-sops-flake, fails at evaluation with the edge applied and passes without it, and the census says it is not alone. The mechanism is this library's:lib/mk-formatting.nix:42putspkgs.pedantixin the nixfmt wrapper'sruntimeInputs, so following flake-lib'snixpkgsmakes flake-lib's formatter requirements part of the consumer's own dependency floor.pedantix1.2.2 is present at5adc5083(flake-lib's pin) and absent atb18a4b90(the revvscode-sops-flakelocks);mkFormattingyields bothformatterandchecks.formatting, sonix fmtis unreachable there too, not just the check.Across the 35 active non-archived
jgus-org/*-flakeproducers, keyed on each repository's own locked nixpkgs revision:pedantix, no edge yet -- takes the rule cleanlypedantix-- the edge fails to evaluate todaynixpkgsinput of its own, so there is no edge to writeOf the 17, 16 lock a
nixos-26.05revision that predatespedantixandprowlarr-mcp-flakelocks an oldernixpkgs-unstablerevision, which a lock refresh alone resolves.So 17 producers can carry the rule as they stand -- the 8 that already do and the 9 whose own nixpkgs carries the tool -- and the other 17 need one of three remedies: this library's formatter not hard-requiring a tool that only some channels carry; those producers moving their nixpkgs forward; or those repositories documenting the dropped edge as their specific technical reason. The third makes the exception bigger than the rule, which is why it is called out here rather than absorbed by the standard's existing escape hatch. The choice is the maintainer's; no producer outside the two exemplars was touched.
Verification
Build and Checkrun 41886456245 --nix run github:jgus-org/flake-lib/v1#build-and-check, success. It caught what a local run could not: whileAGENTS.mdwas untracked it was outside the git-backed flake source, so the local check reportedformatted 61 files (0 changed)and CI reported the same check failing on the 62nd file -- prettier pads the ownership table's cells to the separator width it was written at. Fixed in the next commit; local and CI now agree atformatted 62 files (0 changed). That is this file's own rule about making new source files visible to Git-backed evaluation, which the new file itself had not been given.pull_requesttrigger registered no run for either push on this branch, and the repository's Actions settings are not readable by the agent token, so both runs on this branch areworkflow_dispatch. Worth a maintainer look independent of this change.nix build --no-write-lock-file '.#checks.x86_64-linux.formatting'-- exit 0.AGENTS.mdintegrity: 222 lines, 16 fence markers balanced, 13 sections, and both internal anchors (#dependencies,#overlay-published-producers-and-cuda) resolve to headings in the file.use-subflakes,create-flake, andchange-standardappear in no.nixexpression or test injgus-org/nix; every.agents/skillspath in its Nix is the generated home tree (~/.agents/skills), not a repository path.Markdown and a symlink only.
nix flake checkwas not run in full: the only gate this change can reach ischecks.formatting, above.Merge order
jgus-org/nixand the producer PRs linkhttps://github.com/jgus-org/flake-lib/blob/v1/AGENTS.md, which resolves only after this lands andv1is advanced. Cutting thevX.Y.Ztag, advancingv1, and merging are the maintainer's.