about summary refs log tree commit diff
path: root/nixos/tests/please.nix
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-04-30 11:26:19 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-05-12 22:29:29 -0300
commit8cc0632c464c0390c16a8e32c8b59b5ade6c2899 (patch)
treeec5a5d12920a72d61f25c661713cab73947f4611 /nixos/tests/please.nix
parent4e9cdcb64ee36d68acc2f6ab013c5aecb9526942 (diff)
nixos/tests/please.nix: get rid of `with lib`
Diffstat (limited to 'nixos/tests/please.nix')
-rw-r--r--nixos/tests/please.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/tests/please.nix b/nixos/tests/please.nix
index 2437cfe16130f..af825ae4b9b3c 100644
--- a/nixos/tests/please.nix
+++ b/nixos/tests/please.nix
@@ -6,10 +6,10 @@ import ./make-test-python.nix ({ lib, ... }:
   nodes.machine =
     { ... }:
     {
-      users.users = with lib; mkMerge [
-        (listToAttrs (map
-          (n: nameValuePair n { isNormalUser = true; })
-          (genList (x: "user${toString x}") 6)))
+      users.users = lib.mkMerge [
+        (lib.listToAttrs (map
+          (n: lib.nameValuePair n { isNormalUser = true; })
+          (lib.genList (x: "user${toString x}") 6)))
         {
           user0.extraGroups = [ "wheel" ];
         }