nixVersions.stable: 2.31.3 -> 2.34.4#505121
Open
philiptaron wants to merge 4 commits intoNixOS:staging-nixosfrom
Open
nixVersions.stable: 2.31.3 -> 2.34.4#505121philiptaron wants to merge 4 commits intoNixOS:staging-nixosfrom
philiptaron wants to merge 4 commits intoNixOS:staging-nixosfrom
Conversation
xokdvium
reviewed
Mar 30, 2026
Comment on lines
+45
to
+47
| # Nix needs a writable home for its cache directory (~/.cache/nix). | ||
| export HOME=$TMPDIR/home | ||
| mkdir -p "$HOME" |
Contributor
There was a problem hiding this comment.
Could we use writableTmpDirAsHomeHook for this? I'm pretty sure this won't build without a sandbox.
xokdvium
reviewed
Mar 30, 2026
pkgs/by-name/ll/llhttp/package.nix
Outdated
Comment on lines
+34
to
+35
| (lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic)) | ||
| (lib.cmakeBool "BUILD_STATIC_LIBS" stdenv.hostPlatform.isStatic) | ||
| (lib.cmakeBool "LLHTTP_BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic)) | ||
| (lib.cmakeBool "LLHTTP_BUILD_STATIC_LIBS" stdenv.hostPlatform.isStatic) |
Contributor
There was a problem hiding this comment.
This should probably go to staging, right? No reason to block the nix bump on the huge amount of rebuilds here.
Contributor
Author
There was a problem hiding this comment.
Yeah, I didn't realize the shear number of these.
13 tasks
nix-scheduler-hook doesn't build against nix >= 2.32 due to C++ API changes (Realisation/UnkeyedRealisation type split, nix::Path removal, parseStorePathSet signature change). Pin to nix_2_31 until upstream adapts.
Nix now requires a writable home directory for its cache (~/.cache/nix). Set HOME to a writable tmpdir so that test_try_nix_eval passes in the build sandbox.
The test runner's buildInputs (writableTmpDirAsHomeHook, openssl) need to be nativeBuildInputs. In the static (cross-musl) build, strictDeps is enabled and only nativeBuildInputs are added to PATH. With buildInputs, openssl was not in PATH, causing HttpsBinaryCacheStoreTest.queryPathInfo to crash.
ca71da2 to
869ca79
Compare
Contributor
Author
|
That's a better number of rebuilds. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It's time to do it. 26.05 awaits. CI has been building with these quite successfully.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.