diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-07-28 22:27:17 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-08-01 10:12:12 +0000 |
commit | a282d365927e4ddb1463eb7a432829e0033a8248 (patch) | |
tree | f1ade80d3502f615fd4c4525c3abe3e79d56436e /nixos/tests/binary-cache.nix | |
parent | 130d2fa5e54a882ddd22ce8856c8aa81aee1040e (diff) |
nixos/tests/binary-cache.nix: remove overuses of `with`
Diffstat (limited to 'nixos/tests/binary-cache.nix')
-rw-r--r-- | nixos/tests/binary-cache.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/nixos/tests/binary-cache.nix b/nixos/tests/binary-cache.nix index 0809e59e5a115..bc1c6fb9a2671 100644 --- a/nixos/tests/binary-cache.nix +++ b/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 ''; |