repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ttaenc: init at 3.4.1 (#238757)
[NixPkgs.git]
/
nixos
/
tests
/
make-test-python.nix
blob
ec8a286607a030214b8461159bcd44e5441de4d6
1
f:
2
{
3
system ? builtins.currentSystem,
4
pkgs ? import ../.. {
5
inherit system;
6
config = { };
7
overlays = [ ];
8
},
9
...
10
}@args:
11
12
with import ../lib/testing-python.nix { inherit system pkgs; };
13
14
makeTest (
15
if pkgs.lib.isFunction f then
16
f (
17
args
18
// {
19
inherit pkgs;
20
inherit (pkgs) lib;
21
}
22
)
23
else
24
f
25
)