git.iko.soy/typeable/nixpkgs
on master help sign in
shout: fix preStart, fixes #11516

preStart must be a string

commit6c9931c55689ca668c6e0d3cff215b61f05b8ce8 authorJakob Gillich <jakob@gillich.me> dateMon 7 Dec 2015, 04:54 (11 years ago) parent0671416
1 file changed+1−1
nixos/modules/services/networking/shout.nix+1−1
nixos/modules/services/networking/shout.nix+1−1
@@ -57,7 +57,7 @@ in {
5757 wantedBy = [ "multi-user.target" ];
5858 wants = [ "network-online.target" ];
5959 after = [ "network-online.target" ];
60− preStart = if isNull cfg.configFile then null
60+ preStart = if isNull cfg.configFile then ""
6161 else ''
6262 ln -sf ${pkgs.writeText "config.js" cfg.configFile} \
6363 ${shoutHome}/config.js