-
-
Notifications
You must be signed in to change notification settings - Fork 13k
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
nix: 2.3.16 -> 2.4 #144197
nix: 2.3.16 -> 2.4 #144197
Conversation
So that's why I couldn't find the commit that bumped Nix to 2.4 |
cc @domenkozar and @roberth for the cachix and hercules-ci changes. |
@cdepillabout Thanks for the ping! The Nix binding packages, |
Result of 1 package failed to build:
46 packages built:
|
I think the |
Also, |
|
Result of 1 package failed to build:
41 packages built:
|
Help will be needed to test this on |
@GrahamcOfBorg eval |
Are we keeping |
With nix 2.4 the fact that we set NIX_STATE_DIR, but kept the original store became a hard error. We work around it here by forcing the use of a fresh, sandbox-local, store. See regnat's wonderful analysis for more information: NixOS/nix#5495 (comment)
Thanks to @regnat the last remaining eval failure has been worked around. For an analysis of the cause and solution see their comment: NixOS/nix#5495 (comment) |
I've created an upstream PR to record the breaking change NixOS/nix#5529 |
Follow-up to NixOS#144197 since nixUnstable is no longer needed for flake support.
Follow-up to NixOS#144197 since nixUnstable is no longer for many new features.
Thanks for everyone who helped test and debug this in the past week, I most definitely could not have gotten this in a mergeable state without all of you pitching in :) |
Since NixOS/nixpkgs#144197 flake support is always available. The upstream `enableFlakes` option is scheduled to be removed altogether in NixOS/nixpkgs#145236
Follow-up to NixOS#144197 since nixUnstable is no longer needed for flake support.
Since NixOS/nixpkgs#144197 flake support is always available. The upstream `enableFlakes` option is scheduled to be removed altogether in NixOS/nixpkgs#145236
For the fix, Eelco suggests |
I didn’t try it, but I think this isn’t gonna work, because |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/tweag-nix-dev-update-21/16032/1 |
Since NixOS/nixpkgs#144197 flake support is always available. The upstream `enableFlakes` option is scheduled to be removed altogether in NixOS/nixpkgs#145236
Motivation for this change
https://discourse.nixos.org/t/nix-2-4-released/15822
I'm keeping the previous release around in the
nix_2_3
package. This movesnix
andnixStable
to point tonix_2_4
now.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)