about summary refs log tree commit diff
path: root/nixpkgs/nixos/tests/make-test-python.nix
blob: 32531fffd2bf377b35d120c856f51a3fdf93e829 (plain) (blame)
1
2
3
4
5
6
7
8
9
f: {
  system,
  pkgs ? import ../.. { inherit system; config = {}; overlays = []; },
  ...
} @ 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)