nixos/jekins: rename option services.jenkins.{extraOpts => extraOptions}

I noticed "extraOptions" is infinitely more used than "extraOpts" in
NixOS.
This commit is contained in:
Bjørn Forsman 2014-09-09 17:38:40 +02:00
parent cb614ef4ad
commit e84b0c94f0

View File

@ -64,7 +64,7 @@ in {
''; '';
}; };
extraOpts = mkOption { extraOptions = mkOption {
type = types.listOf types.str; type = types.listOf types.str;
default = [ ]; default = [ ];
example = [ "--debug=9" "--httpListenAddress=localhost" ]; example = [ "--debug=9" "--httpListenAddress=localhost" ];
@ -103,7 +103,7 @@ in {
path = cfg.packages; path = cfg.packages;
script = '' script = ''
${pkgs.jdk}/bin/java -jar ${pkgs.jenkins} --httpPort=${toString cfg.port} ${concatStringsSep " " cfg.extraOpts} ${pkgs.jdk}/bin/java -jar ${pkgs.jenkins} --httpPort=${toString cfg.port} ${concatStringsSep " " cfg.extraOptions}
''; '';
postStart = '' postStart = ''