summary refs log blame commit diff
path: root/nixos/tests/make-test-python.nix
blob: 7a96f538d8d7a85c729f57c82587f879f8e91a82 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                  
                                          





                                                                                                 
f: {
  system ? builtins.currentSystem,
  pkgs ? import ../.. { inherit system; },
  ...
} @ 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)