summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--custom/uucp-mediaclient.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/custom/uucp-mediaclient.nix b/custom/uucp-mediaclient.nix
index 3d1197dc..3b49c9c7 100644
--- a/custom/uucp-mediaclient.nix
+++ b/custom/uucp-mediaclient.nix
@@ -23,7 +23,9 @@ let
23 notify = writeScript "notify.sh" '' 23 notify = writeScript "notify.sh" ''
24 #!${zsh}/bin/zsh 24 #!${zsh}/bin/zsh
25 25
26 ${concatMapStringsSep "\n" (name: "${notify-user name}/bin/notify-${name} $@") cfg.notify.users} 26 input=$(cat)
27
28 ${concatMapStringsSep "\n" (name: ''${notify-user name}/bin/notify-${name} $@ <<<''${input}'') cfg.notify.users}
27 ''; 29 '';
28 30
29 buildPhase = '' 31 buildPhase = ''