nixVersions.nix_2_31: 2.31.2 -> 2.31.3#478158
Conversation
|
|
@philiptaron, can you rebase to resolve the merge conflict with the disabled tests? |
|
One issue: does the release include the offending patch? It appears to do so... |
Changelog of fixes: ## Bug fixes (crashes) - Fix segfaults from `toView()` when compiled with newer nixpkgs (NixOS/nix#14154) - Fix use-after-move in `DerivationGoal::repairClosure` and `SampleStack` (NixOS/nix#14086) - Fix assertion failure on partially valid derivation outputs (NixOS/nix#14137) - Fix `RestrictedStore::addDependency` recursion causing crashes (NixOS/nix#14729) - Fix crash on flakerefs containing newlines (NixOS/nix#14450) ## Bug fixes (functionality) - Fix fakeSSH check breaking SSH copies with `user@host` format (NixOS/nix#14150) - Fix `builtins.dirOf` regression from Nix 2.23 (NixOS/nix#14515) - Restore missing `isAllowed` check in `ChrootLinuxDerivationBuilder` (NixOS/nix#14531) - Fix curl with c-ares failing to resolve DNS in sandbox on macOS (NixOS/nix#14792) - Fix tarball percent decoding for `file://` URIs (NixOS/nix#14729) - `exportReferencesGraph`: Handle heterogeneous arrays (NixOS/nix#13861) - Fix filesystem ops in store optimization (NixOS/nix#14676) ## Bug fixes (output) - Fix double-quoting of paths in logs (NixOS/nix#14210) - Include path in world-writable error messages (NixOS/nix#14785) ## Improvements - Better git refnames validation (NixOS/nix#14253) - Use pure/restricted eval for help pages (NixOS/nix#14156) - Improve store-reference compatibility with IPv6 ZoneId literals (NixOS/nix#14134) - Correct `build-dir` error in manual (NixOS/nix#14745) ## Build system - Add mdbook 0.5 support (NixOS/nix#14690) - Drop legacy Apple SDK pattern (NixOS/nix#13976) https://github.com/NixOS/nix/releases/tag/2.31.3
beb3263 to
a4ef4c1
Compare
Only the shebang one, nix-shell would still be flaky (since we can't do much about the rcfile issue) |
|
Side note, we can probably disable the NixOS daemon in most/all NixOS tests. If we do that, can we target master again? |
e971cab
Only if the resulting NixOS systems do not include Nix. |
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin staging-25.11
git worktree add -d .worktree/backport-478158-to-staging-25.11 origin/staging-25.11
cd .worktree/backport-478158-to-staging-25.11
git switch --create backport-478158-to-staging-25.11
git cherry-pick -x a4ef4c189ca6a336cb3e7b7c0e6cc551a6d764c9 |
|
@philiptaron @Ericson2314 the backport to 25.11 failed. However, this contains an important bug fix for users of nix on darwin. Is there a way this could be backported? |
|
More specifically, this contains NixOS/nix#14676 which allows darwin nix users to use automatic store optimisation |
|
@MangoIV, yes, we do want the backport. You can help by opening a manual backport PR with a version bump. Sorry, a bit swamped lately. |
|
Opened an MR, #501359, review appreciated. |
|
After making my office hot from building all day, I've merged the PR above. Thank you again @MangoIV. |
This PR targets staging-nixos due to needing to rebuild all NixOS tests.
Small changelog:
Bug fixes (crashes)
toView()when compiled with newer nixpkgs (treewide: Remove toView() because it leads to segfaults when compiled… nix#14154)DerivationGoal::repairClosureandSampleStack(nix-cli: use pure/restricted eval for help pages nix#14086)RestrictedStore::addDependencyrecursion causing crashes (Fix Non-virtual interface pattern forRestrictedStore::addDependencynix#14729)Bug fixes (functionality)
user@hostformat (libstore: fixup fakeSSH check nix#14150)builtins.dirOfregression from Nix 2.23 (libexpr: Don't use nix::dirOf in prim_dirOf (fix 2.23 regression) nix#14515)isAllowedcheck inChrootLinuxDerivationBuilder(Restore isAllowed check in ChrootLinuxDerivationBuilder nix#14531)curlwithc-aresfailing to resolve DNS inside sandbox on macOS nix#14792)file://URIs (libfetchers: Actually percentDecode path when using the path from fil… nix#14909)exportReferencesGraph: Handle heterogeneous arrays (exportReferencesGraph: Handle heterogeneous arrays nix#14189)Bug fixes (output)
Improvements
build-direrror in manual (Correctbuild-direrror in manual, link relevant settings nix#14745)Build system
https://github.com/NixOS/nix/releases/tag/2.31.3
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.