diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-11-27 01:59:55 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-27 02:00:46 +0100 |
| commit | 4057be780ab9abd32bf42383cb5a3270f0d87040 (patch) | |
| tree | 2ba8fc35fc288a044badafd9205dd9fcb34b8d4a /tests/default.nix | |
| parent | tests: Pass along the `module_args` to the test evaluation (diff) | |
| download | nixos-server-4057be780ab9abd32bf42383cb5a3270f0d87040.zip | |
tests: Pass along the own names of the tests to themselves
That makes it easier to identify the resulting derivation names.
Diffstat (limited to '')
| -rw-r--r-- | tests/default.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/default.nix b/tests/default.nix index bf05395..0c4038a 100644 --- a/tests/default.nix +++ b/tests/default.nix @@ -344,13 +344,10 @@ baseDirectory = ./by-name; fileName = "test.nix"; finalizeFunction = name: value: - # import value (extra_lib.warnMerge special_args { - # inherit pkgs vhack; - # inherit (pkgs) lib; - # } "the test args set"); import value { inherit packageSets vhack sources; inherit (packageSets.unstable) lib; + ownName = name; }; }; in |
