| Commit message (Expand) | Author | Age | Files | Lines |
| * | Merge master into staging-next | nixpkgs-ci[bot] | 2026-01-18 | 3 | -2/+10 |
| |\ |
|
| | * | tests: migrate some tests from all-packages (#435000) | Wolfgang Walther | 2026-01-18 | 2 | -0/+4 |
| | |\ |
|
| | | * | tests.stdenv: migrate tests-stdenv-gcc-stageCompare from all-packages | jopejoe1 | 2026-01-16 | 1 | -0/+2 |
| | | * | tests: migrate home-assistant-component-tests from all-packages | jopejoe1 | 2026-01-16 | 1 | -0/+2 |
| | * | | teams/mercury: handle team with external membership (#478845) | Wolfgang Walther | 2026-01-18 | 1 | -2/+6 |
| | |\ \
| | |/
| |/| |
|
| | | * | teams/mercury: drop | Wolfgang Walther | 2026-01-18 | 1 | -2/+6 |
| * | | | Merge master into staging-next | nixpkgs-ci[bot] | 2026-01-12 | 1 | -0/+2 |
| |\| | |
|
| | * | | release.nix: move lib-tests into regular nixpkgs tests attrs set (#471130) | Wolfgang Walther | 2026-01-11 | 1 | -0/+2 |
| | |\ \ |
|
| | | * | | release.nix: move lib-tests into regular nixpkgs tests attrs set•••this makes it get tested on all of our supported platforms
| jopejoe1 | 2025-12-15 | 1 | -0/+2 |
| * | | | | Merge remote-tracking branch 'origin/staging-next' into staging | K900 | 2026-01-11 | 2 | -0/+38 |
| |\| | | |
|
| | * | | | haskellPackages.buildFromCabalSdist: respect patches (#474754) | Robert Hensing | 2026-01-11 | 2 | -0/+38 |
| | |\ \ \
| | |_|/
| |/| | |
|
| | | * | | haskell.lib.buildFromSdist: add test, fix double-patch•••Same issue as buildFromCabalSdist: sdistTarball applies patches via
overrideDerivation, but the patches attribute remained, causing
patchPhase to apply them again.
| Robert Hensing | 2025-12-28 | 1 | -0/+13 |
| | | * | | haskellPackages.buildFromCabalSdist: add test, fix double-patch•••srcOnly applies patches, but the resulting derivation still had the
patches attribute, causing patchPhase to apply them again. Clear
patches after srcOnly to prevent double-application.
| Robert Hensing | 2025-12-28 | 2 | -0/+25 |
| | | |/ |
|
| * | | | Merge staging-next into staging | nixpkgs-ci[bot] | 2026-01-06 | 2 | -14/+2 |
| |\| | |
|
| | * | | vmTools: add in 9 RHEL-adjacent distros, upgrade Debian/Ubuntu (#471901) | Colin | 2026-01-05 | 1 | -0/+2 |
| | |\ \ |
|
| | | * | | vmTools: use callPackage and fix rotted tests | Philip Taron | 2026-01-05 | 1 | -0/+2 |
| | * | | | treewide: use overlays to pass a custom stdenv to buildPythonPackage / bulidP... | Matt Sturgeon | 2026-01-05 | 1 | -14/+0 |
| | |\ \ \
| | |/ /
| |/| | |
|
| | | * | | test/overriding: remove python deprecated stdenv override tests•••These tests now throw a warning which is prohibited inside Nixpkgs:
Passing `stdenv` directly to `buildPythonPackage` or `buildPythonApplication` is deprecated. You should use their `.override` function instead, e.g:
buildPythonPackage.override { stdenv = customStdenv; } { }
| Leona Maroni | 2026-01-05 | 1 | -14/+0 |
| * | | | | Merge staging-next into staging | nixpkgs-ci[bot] | 2026-01-05 | 1 | -0/+4 |
| |\| | | |
|
| | * | | | prefer-remote-fetch: Fix evaluation for all fetchers and export additional at... | Philip Taron | 2026-01-05 | 1 | -0/+4 |
| | |\ \ \
| | |/ /
| |/| | |
|
| | | * | | prefer-remote-fetch: Fix evaluation for all fetchers and export additional at... | Dustin Frisch | 2025-12-29 | 1 | -0/+4 |
| | | |/ |
|
| * | / | tests.auto-patchelf-hook-preserve-origin: init•••This adds a test for the autoPatchelfHook --preserve-origin feature.
| Florian Klink | 2025-12-17 | 4 | -0/+110 |
| |/ / |
|
| * | | Merge staging-next into staging | nixpkgs-ci[bot] | 2025-12-13 | 1 | -0/+65 |
| |\| |
|
| | * | fix inputDerivation in case of __structuredAttrs (#469652) | John Ericson | 2025-12-13 | 1 | -0/+65 |
| | |\ |
|
| | | * | stdenv: add tests for inputDerivation with allowedReferences, etc.•••Co-authored-by: infinisil <github@infinisil.com>
!fixup every test needs a meta field?
!fixup refactor inputDerivation tests
!fixup fix tests
| Taeer Bar-Yam | 2025-12-12 | 1 | -0/+65 |
| * | | | Merge staging-next into staging | nixpkgs-ci[bot] | 2025-12-12 | 1 | -0/+7 |
| |\| | |
|
| | * | | buildPython*: preserve overrideStdenvCompat on subsequent overrides•••This is needed to support the deprecated method of overriding `stdenv`
via `overridePythonAttrs`.
| Matt Sturgeon | 2025-12-11 | 1 | -0/+7 |
| * | | | Merge staging-next into staging | nixpkgs-ci[bot] | 2025-12-11 | 1 | -3/+96 |
| |\| | |
|
| | * | | tests.overriding: add overridePythonAttrs-stdenv-deprecated•••Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
| Yueh-Shun Li | 2025-12-11 | 1 | -4/+9 |
| | * | | tests.overriding: test buildPythonPackage.override•••Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
| Yueh-Shun Li | 2025-12-11 | 1 | -0/+30 |
| | * | | tests.overriding: rename local variable python-package-stub -> package-stub | Yueh-Shun Li | 2025-12-11 | 1 | -8/+8 |
| | * | | makeOverridablePythonPackage: simplify implementation and make compatible wit... | Yueh-Shun Li | 2025-12-10 | 1 | -4/+62 |
| | |\ \ |
|
| | | * | | makeOverridablePythonPackage: take care of overrideAttrs•••Make it possible to mix overridePythonAttrs and overrideAttrs, i.e.
((<pkg>.overrideAttrs (_: { foo = "a"; })).overridePythonAttrs (_: { })).foo now works
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
| Yueh-Shun Li | 2025-12-10 | 1 | -0/+39 |
| | | * | | tests.overriding: modularize Python tests•••Test with a pseudopackage python-package-stub.
Modularize the transforming function and testing function.
| Yueh-Shun Li | 2025-12-10 | 1 | -5/+24 |
| * | | | | Merge branch 'staging-next' into staging | Wolfgang Walther | 2025-12-10 | 1 | -2/+2 |
| |\| | | |
|
| | * | | | treewide: clean up 'meta = with' pattern•••This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.
Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
| Ihar Hrachyshka | 2025-12-10 | 1 | -2/+2 |
| | |/ / |
|
| * | | | Merge staging-next into staging | nixpkgs-ci[bot] | 2025-12-09 | 1 | -1/+99 |
| |\| | |
|
| | * | | fetchgit: reference hash from finalAttrs.hash | Yueh-Shun Li | 2025-12-10 | 1 | -0/+46 |
| | * | | fetchurl: reference outputHash from finalAttrs.hash | Yueh-Shun Li | 2025-12-10 | 1 | -1/+53 |
| | |/ |
|
| * | | Merge staging-next into staging | nixpkgs-ci[bot] | 2025-12-08 | 1 | -1/+1 |
| |\| |
|
| | * | tests.pkgs-lib: expose the tests included in it | jopejoe1 | 2025-12-08 | 1 | -1/+1 |
| * | | Merge remote-tracking branch 'origin/staging-next' into staging | K900 | 2025-12-07 | 2 | -13/+18 |
| |\| |
|
| | * | treewide: fix nix-env eval in cross | David McFarland | 2025-12-04 | 2 | -13/+18 |
| * | | make-symlinks-relative.sh: optimize - use multiple cores•••This optimizes the performance of the hook on machines with multiple cores.
The previous implementation was slow, as it was launching two extra processes per symlink (readlink and ln) while not making use of multiprocessing.
The following improvements were made:
- don't even execute the hook if dontRewriteSymlinks is set
- replace multiple find calls with single find call over all outputs
- use xargs -P to process symlinks in parallel
- add test to check that the hook operates as expected
| DavHau | 2025-12-03 | 2 | -30/+63 |
| |/ |
|
| * | tests.checkpointBuildTools: fix hello patches | Tom Hunze | 2025-11-20 | 2 | -33/+33 |
| * | Merge branch 'master' into staging-next | Vladimír Čunát | 2025-11-12 | 2 | -6/+8 |
| |\ |
|
| | * | lib.debug.throwTestFailures: init•••`lib.debug.runTests` provides a unit test evaluator for Nix, but its
results are returned in a raw and difficult-to-read form.
Currently, different callers output the results in various ways:
`builtins.throw (builtins.toJSON failures)` and `builtins.throw ("Tests
failed: " + lib.generators.toPretty { } failures)` are both used.
This change adds a new `lib.debug.throwTestFailures` function which
displays the results nicely before throwing an exception (or returns
`null` if no failures are given), unifying these disparate call-sites.
First, each failing test is pretty-printed in a `trace` message:
```
trace: FAIL testDerivation:
Expected: <derivation a>
Result: <derivation b>
```
Then, an exception is thrown containing the number of tests that failed
(and their names), followed by the raw JSON of the results (for parity
with previous usage, and because `lib.generators.toPretty` sometimes
omits information that `builins.toJSON` includes):
```
error:
… while evaluating the file '...':
… caused by explicit throw
at /nix/store/.../lib/debug.nix:528:7:
527| in
528| throw (
| ^
529| builtins.seq traceFailures (
error: 1 tests failed:
- testDerivation
[{"expected":"/nix/store/xh7kyqp69mxkwspmi81a94m9xx74r8dr-a","name":"testDerivation","result":"/nix/store/503l84nir4zw57d1shfhai25bxxn16c6-b"}]
```
| Rebecca Turner | 2025-11-10 | 2 | -6/+8 |
| * | | Merge master into staging-next | nixpkgs-ci[bot] | 2025-11-06 | 1 | -70/+87 |
| |\| |
|
| | * | tests.overriding: refactor and allow non-bool expected value (#456848) | Matt Sturgeon | 2025-11-06 | 1 | -70/+87 |
| | |\ |
|
| | | * | tests.overriding: restructure test cases utilizing non-boolean support | Yueh-Shun Li | 2025-11-06 | 1 | -63/+59 |