Skip to content

Make flake-lib's AGENTS.md the fleet's flake standard - #118

Merged
jgus merged 2 commits into
mainfrom
agent/locate-flake-agent-i-b9f
Nov 4, 2026
Merged

jgus merged 2 commits into
mainfrom
agent/locate-flake-agent-i-b9f

Conversation

@jgus-bot

@jgus-bot jgus-bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

What

flake-lib owns the shared implementation of the fleet's flake structure, so it now owns the instruction for working with it. AGENTS.md is that standard; CLAUDE.md is the compatibility symlink, matching jgus-org/nix.

AGENTS.md is carved from jgus-org-nix's use-subflakes skill plus that skill's rules for changing flake-lib and for landing a rule before applying it. Sections: ownership across flake.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/*.nix and templates/workflows/ for anything a caller passes, and never restates it.

README stops restating interfaces

The ```nix API block, the inline tagPrefix source fragment, the github-release-asset/mutable-url/oci/huggingface skeletons, the buildFailureHashes and buildVerificationSkip literals, and the updater-flag enumeration are replaced by prose that names each lib export 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 meta is merged key-wise over mkHuggingfaceModelManager's default rather than replacing it (lib/mk-huggingface-model-manager.nix:26), and imageDigest belongs on the mkOciImage passthru list (lib/mk-oci-image.nix:22).

The follows rule is the other direction

The README told a consumer to leave the follows edge off flake-lib.inputs.nixpkgs, because mkFormatting's tools resolve from flake-lib's nixpkgs and following would "return the formatter drift the policy exists to remove". That was the wrong rule and it propagated: measured across the 35 active jgus-org/*-flake producers, all 27 that declare flake-lib.url = "github:jgus-org/flake-lib/v1"; carry no edge, and all 8 that declare it in block form carry inputs.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/nix already follows nixpkgs-unstable on 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:42 puts pkgs.pedantix in the nixfmt wrapper's runtimeInputs, so following flake-lib's nixpkgs makes flake-lib's formatter requirements part of the consumer's own dependency floor. pedantix 1.2.2 is present at 5adc5083 (flake-lib's pin) and absent at b18a4b90 (the rev vscode-sops-flake locks); mkFormatting yields both formatter and checks.formatting, so nix fmt is unreachable there too, not just the check.

Across the 35 active non-archived jgus-org/*-flake producers, keyed on each repository's own locked nixpkgs revision:

State Count
Own nixpkgs carries pedantix, no edge yet -- takes the rule cleanly 9
Already carries the edge (every block-form producer, all on unstable) 8
Own locked nixpkgs has no pedantix -- the edge fails to evaluate today 17
Declares no nixpkgs input of its own, so there is no edge to write 1

Of the 17, 16 lock a nixos-26.05 revision that predates pedantix and prowlarr-mcp-flake locks an older nixpkgs-unstable revision, 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

  • The pull-request gate itself: Build and Check run 41886456245 -- nix run github:jgus-org/flake-lib/v1#build-and-check, success. It caught what a local run could not: while AGENTS.md was untracked it was outside the git-backed flake source, so the local check reported formatted 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 at formatted 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.
  • The pull_request trigger 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 are workflow_dispatch. Worth a maintainer look independent of this change.
  • nix build --no-write-lock-file '.#checks.x86_64-linux.formatting' -- exit 0.
  • AGENTS.md integrity: 222 lines, 16 fence markers balanced, 13 sections, and both internal anchors (#dependencies, #overlay-published-producers-and-cuda) resolve to headings in the file.
  • Nothing in Nix depends on the content this moves: use-subflakes, create-flake, and change-standard appear in no .nix expression or test in jgus-org/nix; every .agents/skills path in its Nix is the generated home tree (~/.agents/skills), not a repository path.

Markdown and a symlink only. nix flake check was not run in full: the only gate this change can reach is checks.formatting, above.

Merge order

jgus-org/nix and the producer PRs link https://github.com/jgus-org/flake-lib/blob/v1/AGENTS.md, which resolves only after this lands and v1 is advanced. Cutting the vX.Y.Z tag, advancing v1, and merging are the maintainer's.

Agent 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
jgus-bot force-pushed the agent/locate-flake-agent-i-b9f branch from f904b49 to 1be8380 Compare November 4, 2026 18:40
@jgus
jgus merged commit 834cca6 into main Nov 4, 2026
2 checks passed
@jgus
jgus deleted the agent/locate-flake-agent-i-b9f branch November 4, 2026 18:56
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
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]>
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants