summaryrefslogtreecommitdiff
path: root/hel/recv-media.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hel/recv-media.nix')
-rw-r--r--hel/recv-media.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/hel/recv-media.nix b/hel/recv-media.nix
index d30da5eb..78d78121 100644
--- a/hel/recv-media.nix
+++ b/hel/recv-media.nix
@@ -2,7 +2,6 @@
2, coreutils 2, coreutils
3, writeScriptBin 3, writeScriptBin
4, eject 4, eject
5, shadow
6, notifyUser ? "gkleen" 5, notifyUser ? "gkleen"
7, showTitle ? true 6, showTitle ? true
8, ffmpeg ? null 7, ffmpeg ? null
@@ -19,7 +18,7 @@ writeScriptBin "recv-media" ''
19 notify=${if notifyUser == null then "false" else "true"} 18 notify=${if notifyUser == null then "false" else "true"}
20 notifyUser=${if notifyUser == null then "" else notifyUser} 19 notifyUser=${if notifyUser == null then "" else notifyUser}
21 20
22 PATH=${eject}/bin:${coreutils}/bin:${shadow}/bin:${if showTitle then ''${ffmpeg}/bin:${gnused}/bin:'' else ""}${wrapperDir} 21 PATH=${wrapperDir}:${eject}/bin:${coreutils}/bin${if showTitle then '':${ffmpeg}/bin:${gnused}/bin'' else ""}
23 22
24 exec 1> >(logger --id=$pid -t recv-media -p user.notice) 23 exec 1> >(logger --id=$pid -t recv-media -p user.notice)
25 exec 2> >(logger --id=$pid -t recv-media -p user.error) 24 exec 2> >(logger --id=$pid -t recv-media -p user.error)