From 33639143ea50404a04bc4c454435aff1bd79dd4b Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 20 Dec 2024 13:58:21 +0100 Subject: refactor({modules,test}): Migrate to a `by-name` structure --- tests/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/default.nix (limited to 'tests/default.nix') diff --git a/tests/default.nix b/tests/default.nix new file mode 100644 index 0000000..d9b354a --- /dev/null +++ b/tests/default.nix @@ -0,0 +1,13 @@ +{ + specialArgs, + nixLib, + pkgs, +}: let + tests = nixLib.mkByName { + baseDirectory = ./by-name; + fileName = "test.nix"; + finalizeFunction = name: value: + import value (nixLib.warnMerge specialArgs {inherit pkgs;} "the test args set"); + }; +in + tests -- cgit 1.4.1