diff options
author | aszlig <aszlig@nix.build> | 2018-02-02 17:44:08 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-02-02 17:44:08 +0100 |
commit | 2a09b4275c353bde6ee72d126cd0e99834dcf66e (patch) | |
tree | b63e331660a10dc503fbd2f6330571694ff977ca /nixos | |
parent | 0bfa9a9dc2ec99ae4f29c2174a7be43938032d31 (diff) |
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
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/make-test.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/make-test.nix b/nixos/tests/make-test.nix index 1b571a008e0f..ee4ba310ad50 100644 --- a/nixos/tests/make-test.nix +++ b/nixos/tests/make-test.nix @@ -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) |