nixos/tests/make-test.nix: Fix eval error
Regression introduced by 943592f69850fd07dd2422da062b1c1ebc45974d. The lib attribute isn't in scope here, so we need to use pkgs.lib instead for isFunction. Signed-off-by: aszlig <aszlig@nix.build> Cc: @shlevy
This commit is contained in:
parent
0bfa9a9dc2
commit
2a09b4275c
@ -2,4 +2,4 @@ f: { system ? builtins.currentSystem, ... } @ args:
|
|||||||
|
|
||||||
with import ../lib/testing.nix { inherit system; };
|
with import ../lib/testing.nix { inherit system; };
|
||||||
|
|
||||||
makeTest (if lib.isFunction f then f (args // { inherit pkgs; inherit (pkgs) lib; }) else f)
|
makeTest (if pkgs.lib.isFunction f then f (args // { inherit pkgs; inherit (pkgs) lib; }) else f)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user