From c2147948b480a887b812b79f014b27f492298055 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 22 Feb 2017 15:33:09 +0100 Subject: Fix path in logging script --- ymir.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ymir.nix b/ymir.nix index d2f02b23..e77c81f1 100644 --- a/ymir.nix +++ b/ymir.nix @@ -509,6 +509,8 @@ in rec { logEmail unix - n n - 10 pipe flags=Rq user=nobody null_sender= argv=${pkgs.writeScript "logEmail" '' #!${pkgs.stdenv.shell} + export PATH=${config.security.wrapperDir}:/run/current-system/sw/bin + mailFile=/tmp/logEmail/$(date +"%F-%H%M%S").$$ mkdir -p -m 700 /tmp/logEmail -- cgit v1.2.3