From 2d7616fb3070fc5aeb2b3f5cc7082dcf21714a6f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 20 Feb 2017 22:39:19 +0100 Subject: Fix setuid-wrappers path --- hel/recv-media.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hel') diff --git a/hel/recv-media.nix b/hel/recv-media.nix index 52d5bae6..a074e76b 100644 --- a/hel/recv-media.nix +++ b/hel/recv-media.nix @@ -6,6 +6,7 @@ , showTitle ? true , ffmpeg ? null , gnused ? null +, wrapperDir ? "/run/wrappers/bin" }: assert showTitle -> ffmpeg != null && gnused != null && notifyUser != null; @@ -15,7 +16,7 @@ writeScriptBin "recv-media" '' pid=$? - PATH=${eject}/bin:${coreutils}/bin:${if showTitle then ''${ffmpeg}/bin:${gnused}/bin:'' else ""}/var/setuid-wrappers + PATH=${eject}/bin:${coreutils}/bin:${if showTitle then ''${ffmpeg}/bin:${gnused}/bin:'' else ""}${wrapperDir} 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