Repository navigation
Sync with upstream 2.28.2 - #31
Merged
Merged
Conversation
Fail when a command fails. Basic error handling was missing, which would lead to errors getting obscured a bit by subsequent successful logging. (cherry picked from commit da36c34)
…/pr-12944 maintainers/release-notes: Let it fail (backport NixOS#12944)
the sleep 1 is not enough in some circumstances. Switching to a fifo helps. (cherry picked from commit 1de951d)
…/pr-12951 tests/functional/repl: fix race condition (backport NixOS#12951)
nix> meson.build:216: WARNING: Project targets '>= 1.1' but uses feature introduced in '1.4.0': fs.name with build_tgt, custom_tgt, and custom_idx. nix> meson.build:222: WARNING: Project targets '>= 1.1' but uses feature introduced in '1.4.0': fs.name with build_tgt, custom_tgt, and custom_idx. nix> meson.build:235: WARNING: Project targets '>= 1.1' but uses feature introduced in '1.4.0': fs.name with build_tgt, custom_tgt, and custom_idx. nix> meson.build:236: WARNING: Project targets '>= 1.1' but uses feature introduced in '1.4.0': fs.name with build_tgt, custom_tgt, and custom_idx. nix> meson.build:242: WARNING: Project targets '>= 1.1' but uses feature introduced in '1.4.0': fs.name with build_tgt, custom_tgt, and custom_idx. (cherry picked from commit 14a829a)
…/pr-12956 Fix meson warnings on minimum version (backport NixOS#12956)
(cherry picked from commit 8be24f5)
…/pr-12961 Make lexer-helpers.hh internal to fix a clang-tidy error (backport NixOS#12961)
Since it references store-config-private.hh. (cherry picked from commit 04e9dc2)
…/pr-12959 Keep fchmodat2-compat.hh private (backport NixOS#12959)
(cherry picked from commit c0ad5d3)
(cherry picked from commit 340fa00)
(cherry picked from commit 611fd80)
…/pr-12962 Fix some clang-tidy warnings (backport NixOS#12962)
(cherry picked from commit 06acbd3)
(cherry picked from commit 9b47b2b)
…/pr-12967 Add trailing commas on addFlag incantations (backport NixOS#12967)
…/pr-12958 Fix some unlinked tests (backport NixOS#12958)
Something went wrong in NixOS#12068 so this didn't work. Also added a test. (cherry picked from commit 77d4316)
…/pr-12979 Actually ignore system/user registries during locking (backport NixOS#12979)
This adds a test case where the lockfile of a relative path flake dependency is updated. It was reported by a user here: https://discourse.nixos.org/t/updating-local-subflakes-inputs-when-building-root-flake/61682 I think this test case relates to issue NixOS#7730. Because the issue is not resolved, this test case would fail without the `|| true` clause. (cherry picked from commit 1bc82d1)
…/pr-12699 tests/functional/flakes: Add test case for subflake locking (backport NixOS#12699)
Comments go to the end of the line, not merely the next ; *or* \n. Fix by splitting on `;` *within* lines, and test. (cherry picked from commit f8b13cc)
…/pr-12984 Fix `;` and `#` bug in machine file parsing (backport NixOS#12984)
We were ignorning the result of `trim`, and after my last change we were also trimmming too early. (cherry picked from commit b74b0f4)
…/pr-12986 Fix another machine config parsing bug (backport NixOS#12986)
(cherry picked from commit 9da01e6)
- no differentiation between uploads and downloads in CLI (cherry picked from commit db297d3)
(cherry picked from commit 49f757c)
…/pr-12538 libstore S3: fix progress bar and make file transfers interruptible (backport NixOS#12538)
(cherry picked from commit f64b895)
…/pr-13009 Fix typo in string context docs (backport NixOS#13009)
(cherry picked from commit c0ed077)
…/pr-13019 Mention BLAKE3 in the Nix 2.27 release notes (backport NixOS#13019)
…er move (cherry picked from commit b129fc8)
(cherry picked from commit 674375b)
(cherry picked from commit 9de9410)
This requires that we refer to the `sourceInfo` instead of the `result`. However, `sourceInfo` does not create a chain of basedir resolution, so we add that back with `flakeDir`. (cherry picked from commit 2109a5a)
…/pr-12603 libstore: curl retry: reset content-encoding and don't use string after move (backport NixOS#12603)
…/pr-13026 Fix issue NixOS#13018, `sourceInfo` strict in `outputs` (backport NixOS#13026)
`CONTENT_ADDRESSED` -> `NIX_TESTS_CA_BY_DEFAULT` (cherry picked from commit 7acc229)
Now, both the unit and functional tests relating to derivation options are tested both ways -- with input addressing and content-addressing derivations. (cherry picked from commit 307dbe9)
…/pr-13022 Test derivation options with content-addressing too (backport NixOS#13022)
…alues We had fields set to the same values before in our test data. This is not a problem per-se, but does mean we wouldn't catch certain mixups. Now, the fields are set to distinct values (where possible), which makes the test more robust. (cherry picked from commit a0b2b75)
This was almost a bug! It wasn't simply because another assignment would clobber it later. (cherry picked from commit 32409dd)
…/pr-13032 Improve derivation "advanced attrs" test, fix almost-bug (backport NixOS#13032)
Tagging release 2.28.2
cole-h
approved these changes
Apr 17, 2025
This branch was previously deployed
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.
Motivation
Context
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.