Skip to content

skills(running-tend): install Nix during weekly MSRV bump - #2960

Merged
max-sixty merged 1 commit into
mainfrom
skills/weekly-nix-install-26805858424
Jun 2, 2026
Merged

max-sixty merged 1 commit into
mainfrom
skills/weekly-nix-install-26805858424

Conversation

@worktrunk-bot

Copy link
Copy Markdown
Collaborator

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.lock manually after every MSRV bump.

The weekly skill already tells the agent to run nix flake update after the toolchain bump, but Nix isn't in the claude-setup action so that line was non-executable — every weekly MSRV bump shipped a stale lock and the next nightly nix-flake job failed (as on #2948 itself).

Changes

  • Weekly Maintenance: MSRV & Toolchain — add the Determinate Systems installer one-liner before nix 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-existing nix.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 resulting flake.lock evaluates against channel = 1.95.0.
  • Investigating codecov failures in CI — narrow the existing "cargo install / curl | sh are 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

  • Next weekly run picks up the new recipe and produces a flake.lock refresh inside the same PR as the toolchain bump (no follow-up needed from the maintainer).
  • nix-flake job passes on the weekly PR head.

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).
@max-sixty
max-sixty enabled auto-merge (squash) June 2, 2026 07:58
@max-sixty
max-sixty merged commit 7063b3c into main Jun 2, 2026
33 checks passed
@max-sixty
max-sixty deleted the skills/weekly-nix-install-26805858424 branch June 2, 2026 08:03
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