Upstream tracking#165
Draft
grahamc wants to merge 3076 commits into
Draft
Conversation
…essages This was spamming a gazillion duplicated error messages to stderr: error: Build failed due to failed dependency error: Build failed due to failed dependency error: Build failed due to failed dependency error: Build failed due to failed dependency error: Build failed due to failed dependency error: Build failed due to failed dependency Notably, it was just duplicating the more detailed errors above. (cherry picked from commit d79b5a9)
We had too little headroom previously, since the default stack size if 128KiB and half of that is typically consumed by a 64KiB buffer for copying between Source/Sink. 512KiB should be more than enough for the limit that we have (64 levels in NARs , which usually also bounds the recursion depth with some constant factor). (cherry picked from commit c37e17c)
…tenance [Backport 2.34-maintenance] Get rid of duplicated 'Build failed due to failed dependency' error m…
External contributors can't access Determinate Secure Packages (a private flake dependency of packaging/secure-packages), so the secure-packages build jobs fail for PRs from forks. Gate those jobs on the PR coming from the canonical repo, and run the non-DSP build jobs for fork PRs instead. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
For fork PRs the artifact-uploading build jobs are skipped, so nothing is downloaded and the unquoted glob expands to the literal path, making mv fail. Use nullglob so the loop is a no-op when there are no artifacts. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…sts-in-sandbox Allow local networking in libmicrohttpd and functional tests
Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@saronic.com> (cherry picked from commit 09c8a1b)
…tenance [Backport 2.34-maintenance] Fix boost format error when diff hook fails
Make queryMissing(), computeClosure() etc async
You now get:
error: path '/nix/store/ksv7jr3gl2damnbnn6rcigrzh8wql0rc-missing-dependency' is required, but there is no substituter that can build it
error: Cannot build '/nix/store/vis7l3rjqbb75kimqds2cqbm4wkf3qa2-test.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/y600378sad3qj81vn46g1lavwp7scgzl-test
Don't ignore substitution failures for BasicDerivation inputSrcs
The core of the issue is that the trampoline goal reported an arbitrary exitCode, which without --keep-going ends up cancelling goals and we end up dying with an assert in Goal::amDone(). See: NixOS#16042 (comment) (cherry picked from commit f2c1d45)
…tenance [Backport 2.34-maintenance] Fix NixOS#15916
Sync with upstream 2.34-maintenance
Recently, we added a `binary-cache-detsys-v1.sqlite` file, and these instructions would not remove that.
…ache-cache-clearing fixup: make binary cache nuclear option more general
This replaces the WantMassQuery and Priority SQLite columns with a generic JSON field storing arbitrary nix-cache-info fields. This allows fields to be added in the future without having to change the database schema. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…eneric-fields NarInfoDiskCache: Support arbitrary nix-cache-info fields
ci: update DSP on releases
Based on upstream 0b29401.
Add some calls to addTempRoot()
Flake lock file updates:
• Updated input 'nixpkgs':
'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2511.909248%2Brev-0590cd39f728e129122770c029970378a79d076a/019ce32b-8ace-7339-b129-cceaa8dd10c6/source.tar.gz' (2026-03-11)
→ 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2511.914302%2Brev-1d4e0f865d68258aada31e68e6d79c8c463f3b34/019f1c78-b5ab-7af2-8516-c0d5406b0646/source.tar.gz' (2026-06-29)
flake.lock: Update
Nixpkgs now uses structured attrs (i.e. env.<VAR>), so this override wasn't working anymore. It makes a huge performance impact once GC kicks in (e.g. it speeds up a 12-core `nix search nixpkgs` from 10.5 to 6.5 seconds). Assisted-by: Claude Fable 5 <noreply@anthropic.com>
…k-size Fix INITIAL_MARK_STACK_SIZE override in boehm-gc
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Motivation
Not intended to be merged directly. This PR is a convenience to show the diff between upstream Nix and Determinate Nix (the
mainbranch).Continuation of #4.