···182182183183 pbPort = lib.mkOption {
184184 default = 9989;
185185- type = lib.types.either lib.types.str lib.types.int;
185185+ type = lib.types.either lib.types.str lib.types.port;
186186 example = "'tcp:9990:interface=127.0.0.1'";
187187 description = ''
188188 The buildmaster will listen on a TCP port of your choosing