mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
fcgiwrap module: use enum
This commit is contained in:
parent
8f8184ece1
commit
797d40767d
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
socketType = mkOption {
|
socketType = mkOption {
|
||||||
type = types.addCheck types.str (t: t == "unix" || t == "tcp" || t == "tcp6");
|
type = types.enum [ "unix" "tcp" "tcp6" ];
|
||||||
default = "unix";
|
default = "unix";
|
||||||
description = "Socket type: 'unix', 'tcp' or 'tcp6'.";
|
description = "Socket type: 'unix', 'tcp' or 'tcp6'.";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue