aboutsummaryrefslogtreecommitdiffstats
path: root/tests/default.nix
diff options
context:
space:
mode:
authorSoispha Peetz <soispha@b-peetz.de>2026-11-27 01:59:55 +0100
committerSoispha Peetz <soispha@b-peetz.de>2026-11-27 02:00:46 +0100
commit4057be780ab9abd32bf42383cb5a3270f0d87040 (patch)
tree2ba8fc35fc288a044badafd9205dd9fcb34b8d4a /tests/default.nix
parenttests: Pass along the `module_args` to the test evaluation (diff)
downloadnixos-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.nix5
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