summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-04-30 11:26:16 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-05-12 22:29:27 -0300
commita137b4161d6b7ccb4312dc07c5c90ccaa85e5a85 (patch)
tree39aa47fad2bd548a6a695b1d04609a77fe24e5d9
parent5ee5e4bb465cd7530e5f01de779334ca6cdc7870 (diff)
downloadnixpkgs-a137b4161d6b7ccb4312dc07c5c90ccaa85e5a85.tar
nixpkgs-a137b4161d6b7ccb4312dc07c5c90ccaa85e5a85.tar.gz
nixpkgs-a137b4161d6b7ccb4312dc07c5c90ccaa85e5a85.tar.bz2
nixpkgs-a137b4161d6b7ccb4312dc07c5c90ccaa85e5a85.tar.lz
nixpkgs-a137b4161d6b7ccb4312dc07c5c90ccaa85e5a85.tar.xz
nixpkgs-a137b4161d6b7ccb4312dc07c5c90ccaa85e5a85.tar.zst
nixpkgs-a137b4161d6b7ccb4312dc07c5c90ccaa85e5a85.zip
nixos/tests/couchdb.nix: get rid of `with lib`
-rw-r--r--nixos/tests/couchdb.nix14
1 files changed, 4 insertions, 10 deletions
diff --git a/nixos/tests/couchdb.nix b/nixos/tests/couchdb.nix
index b57072d6be2..cf6ca8e4548 100644
--- a/nixos/tests/couchdb.nix
+++ b/nixos/tests/couchdb.nix
@@ -1,9 +1,8 @@
 let
-
   makeNode = couchpkg: user: passwd:
     { pkgs, ... } :
 
-      { environment.systemPackages = with pkgs; [ jq ];
+      { environment.systemPackages = [ pkgs.jq ];
         services.couchdb.enable = true;
         services.couchdb.package = couchpkg;
         services.couchdb.adminUser = user;
@@ -12,16 +11,11 @@ let
   testuser = "testadmin";
   testpass = "cowabunga";
   testlogin = "${testuser}:${testpass}@";
-
-in import ./make-test-python.nix ({ pkgs, lib, ...}:
-
-with lib;
-
+in
+import ./make-test-python.nix ({ pkgs, lib, ...}:
 {
   name = "couchdb";
-  meta = with pkgs.lib.maintainers; {
-    maintainers = [ ];
-  };
+  meta.maintainers = [ ];
 
   nodes = {
     couchdb3 = makeNode pkgs.couchdb3 testuser testpass;