git.iko.soy/typeable/nixpkgs
on master help sign in
murmur service: welcome -> welcometext

fixed incorrect option name `welcome` to `welcometext`. joachifm added a rename for backwards compat. Closes https://github.com/NixOS/nixpkgs/pull/18570

commite330807e1fbd05828f5b905e9c356b803b04302e authorWei-Ming Yang <rick68@users.noreply.github.com> dateWed 14 Sep 2016, 07:24 (10 years ago) parentde95463
2 files changed+5−2
nixos/modules/rename.nix+3 nixos/modules/services/networking/murmur.nix+2−2
nixos/modules/rename.nix+3
@@ -139,6 +139,9 @@ with lib;
139139 # fontconfig-ultimate
140140 (mkRenamedOptionModule [ "fonts" "fontconfig" "ultimate" "rendering" ] [ "fonts" "fontconfig" "ultimate" "preset" ])
141141
142+ # murmur
143+ (mkRenamedOptionModule [ "services" "murmur" "welcome" ] [ "services" "murmur" "welcometext" ])
144+
142145 # Options that are obsolete and have no replacement.
143146 (mkRemovedOptionModule [ "boot" "initrd" "luks" "enable" ] "")
144147 (mkRemovedOptionModule [ "programs" "bash" "enable" ] "")
nixos/modules/services/networking/murmur.nix+2−2
@@ -15,7 +15,7 @@ let
1515 logfile=/var/log/murmur/murmurd.log
1616 pidfile=${cfg.pidfile}
1717
18− welcome="${cfg.welcome}"
18+ welcometext="${cfg.welcometext}"
1919 port=${toString cfg.port}
2020
2121 ${if cfg.hostName == "" then "" else "host="+cfg.hostName}
@@ -84,7 +84,7 @@ in
8484 description = "Path to PID file for Murmur daemon.";
8585 };
8686
87− welcome = mkOption {
87+ welcometext = mkOption {
8888 type = types.str;
8989 default = "";
9090 description = "Welcome message for connected clients.";