Merge pull request #193917 from hercules-ci/fix-make-test-python
nixos/tests/make-test-python.nix: Restore stand-alone invocation
This commit is contained in:
commit
78cbebb361
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user