nixos/tests/make-test.nix: Fix eval error

Regression introduced by 943592f698.

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
release-18.03-flake
aszlig 2018-02-02 17:44:08 +01:00
parent 0bfa9a9dc2
commit 2a09b4275c
No known key found for this signature in database
GPG Key ID: 684089CE67EBB691
1 changed files with 1 additions and 1 deletions

View File

@ -2,4 +2,4 @@ f: { system ? builtins.currentSystem, ... } @ args:
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)