about summary refs log tree commit diff
path: root/nixpkgs/nixos/tests/binary-cache.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/tests/binary-cache.nix')
-rw-r--r--nixpkgs/nixos/tests/binary-cache.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/nixpkgs/nixos/tests/binary-cache.nix b/nixpkgs/nixos/tests/binary-cache.nix
index 0809e59e5a11..bc1c6fb9a267 100644
--- a/nixpkgs/nixos/tests/binary-cache.nix
+++ b/nixpkgs/nixos/tests/binary-cache.nix
@@ -1,16 +1,14 @@
-import ./make-test-python.nix ({ lib, ... }:
-
-with lib;
+import ./make-test-python.nix ({ lib, pkgs, ... }:
 
 {
   name = "binary-cache";
-  meta.maintainers = with maintainers; [ thomasjm ];
+  meta.maintainers = with lib.maintainers; [ thomasjm ];
 
   nodes.machine =
     { pkgs, ... }: {
       imports = [ ../modules/installer/cd-dvd/channel.nix ];
-      environment.systemPackages = with pkgs; [python3];
-      system.extraDependencies = with pkgs; [hello.inputDerivation];
+      environment.systemPackages = [ pkgs.python3 ];
+      system.extraDependencies = [ pkgs.hello.inputDerivation ];
       nix.extraOptions = ''
         experimental-features = nix-command
       '';