From a137b4161d6b7ccb4312dc07c5c90ccaa85e5a85 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 30 Apr 2023 11:26:16 -0300 Subject: [PATCH] nixos/tests/couchdb.nix: get rid of `with lib` --- nixos/tests/couchdb.nix | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/nixos/tests/couchdb.nix b/nixos/tests/couchdb.nix index b57072d6be2d..cf6ca8e4548d 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;