From 6c9931c55689ca668c6e0d3cff215b61f05b8ce8 Mon Sep 17 00:00:00 2001 From: Jakob Gillich Date: Mon, 7 Dec 2015 04:54:48 +0100 Subject: [PATCH] shout: fix preStart, fixes #11516 preStart must be a string --- nixos/modules/services/networking/shout.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/shout.nix b/nixos/modules/services/networking/shout.nix index f55b87a9614..fe3cba8f149 100644 --- a/nixos/modules/services/networking/shout.nix +++ b/nixos/modules/services/networking/shout.nix @@ -57,7 +57,7 @@ in { wantedBy = [ "multi-user.target" ]; wants = [ "network-online.target" ]; after = [ "network-online.target" ]; - preStart = if isNull cfg.configFile then null + preStart = if isNull cfg.configFile then "" else '' ln -sf ${pkgs.writeText "config.js" cfg.configFile} \ ${shoutHome}/config.js