about summary refs log tree commit diff
path: root/nixpkgs/nixos/tests/make-test-python.nix
blob: 89897fe7e61b2ba12bcd1a596a0e2a84ea9a730a (plain) (blame)
1
2
3
4
5
6
7
8
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)