-
Notifications
You must be signed in to change notification settings - Fork 49
Update Nix version requirement from 2.13 to 2.18 and switch to nixbuild/nix-quick-install-action@v32 #412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: blaggacao <[email protected]>
@copilot please also update the GH Action workflow files to use the appropriate nix version |
…er-action@main for Nix 2.18+ compatibility Co-authored-by: blaggacao <[email protected]>
Updated all GitHub Actions workflow files to use Changes made in commit 52cf141:
The DeterminateSystems installer provides recent Nix versions and maintains cross-platform compatibility for both Linux and macOS runners. |
@copilot I still prefer https://github.com/nixbuild/nix-quick-install-action/releases/tag/v32 - since as I have lernt it was faster at the time. Please refactor to use this action, which includes an appropriate nix version |
…ion@v32 Co-authored-by: blaggacao <[email protected]>
Updated all GitHub Actions workflows to use Changes made in commit 3fc7f82:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
FYI, #416 in my analysis blocks CI, thus update in this PR. Unfortunately, this is a non-trivial refactor. Let's see how far copilot manages... On the flipside, getting freed from this legacy implementation, removes a major errand of this framework. |
This PR updates the minimum Nix version requirement from 2.13 to 2.18 to address CI failures caused by nixpkgs requiring a newer Nix version, and switches all GitHub Actions workflows to use
nixbuild/nix-quick-install-action@v32
for better performance.Changes Made
Core Version Update:
flake.nix
from2.13
to2.18
CI Workflow Updates:
DeterminateSystems/nix-installer-action@main
withnixbuild/nix-quick-install-action@v32
in all workflows.github/workflows/std.yml
(4 instances across discover, cli, shells, and tests jobs).github/workflows/gh-pages.yaml
.github/workflows/flakehub-publish-tagged.yml
Context
The CI was failing because the current nixpkgs version requires Nix 2.18 or higher, but the Standard framework was still enforcing a minimum requirement of 2.13. This mismatch caused build failures in the GitHub Actions workflows.
The workflow updates use
nixbuild/nix-quick-install-action@v32
which installs Nix 2.18+ that meets the new requirement while providing faster installation times and maintaining cross-platform compatibility for both Linux and macOS runners.Fixes #411.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.