tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/tests/redis.nix: get rid of `with lib`
Anderson Torres
2 years ago
71418004
70e8a86b
+4
-6
1 changed file
expand all
collapse all
unified
split
nixos
tests
redis.nix
+4
-6
nixos/tests/redis.nix
···
1
1
-
import ./make-test-python.nix ({ pkgs, ... }:
1
1
+
import ./make-test-python.nix ({ pkgs, lib, ... }:
2
2
{
3
3
name = "redis";
4
4
-
meta = with pkgs.lib.maintainers; {
5
5
-
maintainers = [ flokli ];
6
6
-
};
4
4
+
meta.maintainers = with lib.maintainers; [ flokli ];
7
5
8
6
nodes = {
9
7
machine =
10
10
-
{ pkgs, lib, ... }: with lib;
8
8
+
{ pkgs, lib, ... }:
11
9
12
10
{
13
11
services.redis.servers."".enable = true;
14
12
services.redis.servers."test".enable = true;
15
13
16
16
-
users.users = listToAttrs (map (suffix: nameValuePair "member${suffix}" {
14
14
+
users.users = lib.listToAttrs (map (suffix: lib.nameValuePair "member${suffix}" {
17
15
createHome = false;
18
16
description = "A member of the redis${suffix} group";
19
17
isNormalUser = true;