From 2364064cde48ed375d7fbbfb763896e663fc5faf Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 2 Jun 2018 18:04:20 +0200 Subject: ... --- custom/uucp-mediaclient.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 notify = writeScript "notify.sh" '' #!${zsh}/bin/zsh - ${concatMapStringsSep "\n" (name: "${notify-user name}/bin/notify-${name} $@") cfg.notify.users} + input=$(cat) + + ${concatMapStringsSep "\n" (name: ''${notify-user name}/bin/notify-${name} $@ <<<''${input}'') cfg.notify.users} ''; buildPhase = '' -- cgit v1.2.3