From 540052d1170d63f2af967580e1644b9e4e544b9a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 30 Sep 2016 19:41:30 +0200 Subject: scoping --- hel/recv-media.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hel/recv-media.nix') diff --git a/hel/recv-media.nix b/hel/recv-media.nix index f5888f8d..f81d7c9e 100644 --- a/hel/recv-media.nix +++ b/hel/recv-media.nix @@ -1,12 +1,12 @@ -{ stdenv, coreutils, writeScriptBin }: +{ stdenv, coreutils, writeScriptBin, util-linux }: writeScriptBin "recv-media" '' #!${stdenv.shell} pid=$? - exec 1> >(${pkgs.util-linux}/bin/logger --id=$pid -t recv-media -p user.notice) - exec 2> >(${pkgs.util-linux}/bin/logger --id=$pid -t recv-media -p user.error) + exec 1> >(${util-linux}/bin/logger --id=$pid -t recv-media -p user.notice) + exec 2> >(${util-linux}/bin/logger --id=$pid -t recv-media -p user.error) [[ -z "$1" || -z "$2" ]] && exit 2 -- cgit v1.2.3