summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-02-02 17:44:08 +0100
committeraszlig <aszlig@nix.build>2018-02-02 17:44:08 +0100
commit2a09b4275c353bde6ee72d126cd0e99834dcf66e (patch)
treeb63e331660a10dc503fbd2f6330571694ff977ca
parent0bfa9a9dc2ec99ae4f29c2174a7be43938032d31 (diff)
downloadnixpkgs-2a09b4275c353bde6ee72d126cd0e99834dcf66e.tar
nixpkgs-2a09b4275c353bde6ee72d126cd0e99834dcf66e.tar.gz
nixpkgs-2a09b4275c353bde6ee72d126cd0e99834dcf66e.tar.bz2
nixpkgs-2a09b4275c353bde6ee72d126cd0e99834dcf66e.tar.lz
nixpkgs-2a09b4275c353bde6ee72d126cd0e99834dcf66e.tar.xz
nixpkgs-2a09b4275c353bde6ee72d126cd0e99834dcf66e.tar.zst
nixpkgs-2a09b4275c353bde6ee72d126cd0e99834dcf66e.zip
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
-rw-r--r--nixos/tests/make-test.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/make-test.nix b/nixos/tests/make-test.nix
index 1b571a008e0..ee4ba310ad5 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)