diff options
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/make-test-python.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/tests/make-test-python.nix b/nixos/tests/make-test-python.nix index 7a96f538d8d7..c3bbd6742372 100644 --- a/nixos/tests/make-test-python.nix +++ b/nixos/tests/make-test-python.nix @@ -6,4 +6,6 @@ f: { with import ../lib/testing-python.nix { inherit system pkgs; }; -makeTest (if pkgs.lib.isFunction f then f (args // { inherit pkgs; inherit (pkgs) lib; }) else f) +let testConfig = makeTest (if pkgs.lib.isFunction f then f (args // { inherit pkgs; inherit (pkgs) lib; }) else f); +in testConfig.test # For nix-build + // testConfig # For all-tests.nix |