diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2019-11-05 01:07:22 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2019-11-05 01:07:22 +0100 |
commit | 8dca8b9ccb05e7abe6b769485a4d224987c15c06 (patch) | |
tree | 80f8e212628d458ecc6d9e9af22661813eed8aa7 /nixos/tests/make-test-python.nix | |
parent | 1ba64dad7c7b29a03ace672b2ff1a01343e853fe (diff) | |
parent | 22906321fbc0d38372d7ae2657adb2597fc384c1 (diff) | |
download | nixpkgs-8dca8b9ccb05e7abe6b769485a4d224987c15c06.tar nixpkgs-8dca8b9ccb05e7abe6b769485a4d224987c15c06.tar.gz nixpkgs-8dca8b9ccb05e7abe6b769485a4d224987c15c06.tar.bz2 nixpkgs-8dca8b9ccb05e7abe6b769485a4d224987c15c06.tar.lz nixpkgs-8dca8b9ccb05e7abe6b769485a4d224987c15c06.tar.xz nixpkgs-8dca8b9ccb05e7abe6b769485a4d224987c15c06.tar.zst nixpkgs-8dca8b9ccb05e7abe6b769485a4d224987c15c06.zip |
Merge remote-tracking branch 'origin/master' into gcc-9
Diffstat (limited to 'nixos/tests/make-test-python.nix')
-rw-r--r-- | nixos/tests/make-test-python.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nixos/tests/make-test-python.nix b/nixos/tests/make-test-python.nix new file mode 100644 index 00000000000..89897fe7e61 --- /dev/null +++ b/nixos/tests/make-test-python.nix @@ -0,0 +1,9 @@ +f: { + system ? builtins.currentSystem, + pkgs ? import ../.. { inherit system; config = {}; }, + ... +} @ args: + +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) |