From 54029fae7a31fe4fdc31fa149e8786cb2db1d411 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 30 May 2017 14:09:34 +0200 Subject: Use wrapped sg --- hel/recv-media.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hel') 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 @@ , coreutils , writeScriptBin , eject -, shadow , notifyUser ? "gkleen" , showTitle ? true , ffmpeg ? null @@ -19,7 +18,7 @@ writeScriptBin "recv-media" '' notify=${if notifyUser == null then "false" else "true"} notifyUser=${if notifyUser == null then "" else notifyUser} - PATH=${eject}/bin:${coreutils}/bin:${shadow}/bin:${if showTitle then ''${ffmpeg}/bin:${gnused}/bin:'' else ""}${wrapperDir} + PATH=${wrapperDir}:${eject}/bin:${coreutils}/bin${if showTitle then '':${ffmpeg}/bin:${gnused}/bin'' else ""} exec 1> >(logger --id=$pid -t recv-media -p user.notice) exec 2> >(logger --id=$pid -t recv-media -p user.error) -- cgit v1.2.3