Skip to content

Bump the CI Nix installer to 2.35.3 - #208

Merged
kwsantiago merged 1 commit into
mainfrom
ci/nix-installer-2.35.3
Oct 17, 2026
Merged

kwsantiago merged 1 commit into
mainfrom
ci/nix-installer-2.35.3

Conversation

@kwsantiago

@kwsantiago kwsantiago commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

The nix job downloads and sha256-verifies the Nix installer itself, then passes install_url: file://$RUNNER_TEMP/nix-install to install-nix-action. So NIX_VERSION in this workflow selects the nix version, and the action does not.

That means the install-nix-action 31.11.1 to 31.11.2 bump (#207) changed nothing: 31.11.2's entire content was nix 2.35.2 to 2.35.3, which fixes a set of vulnerabilities that combine into root privilege escalation. CI kept installing 2.35.2.

This applies that bump where it actually takes effect, and adds a comment recording the coupling so the next action bump is not mistaken for a nix upgrade.

Exposure was low: an ephemeral single-tenant runner, where local root gains an attacker little. Worth fixing because it is two lines and the previous state read as patched without being patched.

Verification

69d0fe8fba8fe88f94c98b09964691ac9950abc7ecbf2ba861dc0533cfd901e9 is the published install.sha256 for 2.35.3, checked against releases.nixos.org rather than taken from a changelog.

Ran this workflow's exact bootstrap locally with the values read back out of the file: sha256sum -c reported OK, and the fetched installer self-reports nix-2.35.3, so the digest matches the intended artifact and not merely some artifact. The nix package build job exercises the same check.

Summary by CodeRabbit

  • Chores
    • Updated the Nix installer workflow to use Nix 2.35.3.

@coderabbitai

coderabbitai Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 82fa41ca-a1e1-4d3a-8103-8ee12e4c7a8e
📥 Commits

Reviewing files that changed from the base of the PR and between 28d6a9f and 872cb5b.

📒 Files selected for processing: 1
  • .github/workflows/ci.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

The CI workflow now pins the Nix installer to version 2.35.3 with its matching SHA-256 digest. Comments distinguish the installer version from the action version and note manual updates for Nix security releases.

Changes

CI Nix installer

Layer / File(s) Summary
Installer version and digest
.github/workflows/ci.yml
The workflow comments distinguish the installer version from the action version and note manual updates for Nix security releases. The installer version and SHA-256 digest now match Nix 2.35.3.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 872cb

CI is configured to install Nix 2.35.3 and verify its installer before use. No actionable merge risk was identified in this change.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: updating the CI Nix installer to version 2.35.3.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit checks the Nix pin,
Then hops past the old version.
A fresh digest joins the line,
The comments keep the versions clear.
The workflow is set to 2.35.3,
And the rabbit bounds away.

Comment @coderabbitai help to get the list of available commands.

@kwsantiago
kwsantiago merged commit 41dacd3 into main Oct 17, 2026
5 checks passed
@kwsantiago
kwsantiago deleted the ci/nix-installer-2.35.3 branch October 17, 2026 17:33
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.

1 participant