diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-06-02 18:04:20 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-06-02 18:04:20 +0200 |
commit | 2364064cde48ed375d7fbbfb763896e663fc5faf (patch) | |
tree | bc0a93a6606ad46ba3971a94c9d2c14489132bd6 | |
parent | 3fb87a707b0d9fa71dbe8723c11085b79da0c3b9 (diff) | |
download | nixos-2364064cde48ed375d7fbbfb763896e663fc5faf.tar nixos-2364064cde48ed375d7fbbfb763896e663fc5faf.tar.gz nixos-2364064cde48ed375d7fbbfb763896e663fc5faf.tar.bz2 nixos-2364064cde48ed375d7fbbfb763896e663fc5faf.tar.xz nixos-2364064cde48ed375d7fbbfb763896e663fc5faf.zip |
...
-rw-r--r-- | custom/uucp-mediaclient.nix | 4 |
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 = '' |