Repository navigation
skills(running-tend): install Nix during weekly MSRV bump - #2960
Merged
Merged
Conversation
The skill told the agent to run `nix flake update` after the toolchain bump, but Nix isn't installed in `claude-setup`, so the lock was always stale on the weekly PR (e.g. #2948). Codify the Determinate Systems installer one-liner (verified working in the tend-mention run on #2948) so the weekly PR ships a refreshed lock without maintainer follow-up. Also narrow the codecov-investigation note: the "curl | sh is blocked" claim is really about source-compiling cargo installs, not all single-script installers. Determinate Nix runs fine. Per max-sixty in #2948 (comment).
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.
Summary
Codifies what max-sixty asked for in #2948 (comment): allow the agent to install Nix itself during weekly maintenance, instead of waiting for the maintainer to refresh
flake.lockmanually after every MSRV bump.The weekly skill already tells the agent to run
nix flake updateafter the toolchain bump, but Nix isn't in theclaude-setupaction so that line was non-executable — every weekly MSRV bump shipped a stale lock and the next nightlynix-flakejob failed (as on #2948 itself).Changes
Weekly Maintenance: MSRV & Toolchain— add the Determinate Systems installer one-liner beforenix flake update. Daemon-mode,--no-confirm, sources the daemon profile, and uses--extra-experimental-features 'nix-command flakes'so the command works on a fresh install without a pre-existingnix.conf. Tested in the tend-mention run from the linked comment: it ran cleanly, refreshed the lock for chore(ci): weekly renovation 2026-05-31 #2948, and the resultingflake.lockevaluates againstchannel = 1.95.0.Investigating codecov failures in CI— narrow the existing "cargo install/curl | share blocked by the sandbox" claim. The actual failure mode is source-compiling installs (long-running cargo compiles) cascading into bash-tool interrupts; pre-built single-script installers like Determinate Nix's run fine. The narrower wording keeps the codecov-investigation guidance intact while not contradicting the new MSRV recipe.Test plan
flake.lockrefresh inside the same PR as the toolchain bump (no follow-up needed from the maintainer).nix-flakejob passes on the weekly PR head.