about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2022-10-16 16:18:00 +0200
committerRobert Hensing <robert@roberthensing.nl>2022-10-16 16:30:20 +0200
commit611f247810ab76bedd6ed544068232982c071f06 (patch)
tree63a34549378bff7e8d6158754ddb5382eb422ff4 /nixos/tests
parent00b3b4ee248b52fc5588ad2d5cb0d71575938e72 (diff)
nixos/tests: Generalize nix-build file.nix hack to testing-python.nix
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/make-test-python.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/tests/make-test-python.nix b/nixos/tests/make-test-python.nix
index c3bbd67423726..7a96f538d8d7a 100644
--- a/nixos/tests/make-test-python.nix
+++ b/nixos/tests/make-test-python.nix
@@ -6,6 +6,4 @@ f: {
 
 with import ../lib/testing-python.nix { inherit system pkgs; };
 
-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
+makeTest (if pkgs.lib.isFunction f then f (args // { inherit pkgs; inherit (pkgs) lib; }) else f)