tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
fcgiwrap module: use enum
Eric Sagnes
9 years ago
797d4076
8f8184ec
+1
-1
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
web-servers
fcgiwrap.nix
+1
-1
nixos/modules/services/web-servers/fcgiwrap.nix
···
21
};
22
23
socketType = mkOption {
24
-
type = types.addCheck types.str (t: t == "unix" || t == "tcp" || t == "tcp6");
25
default = "unix";
26
description = "Socket type: 'unix', 'tcp' or 'tcp6'.";
27
};
···
21
};
22
23
socketType = mkOption {
24
+
type = types.enum [ "unix" "tcp" "tcp6" ];
25
default = "unix";
26
description = "Socket type: 'unix', 'tcp' or 'tcp6'.";
27
};