summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-02-22 15:33:09 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-02-22 15:33:09 +0100
commitc2147948b480a887b812b79f014b27f492298055 (patch)
treed9a57048f523f757862d4c6b2aaffc92155a6e76 /ymir.nix
parente5121a3ea6c134ac422138cb074ad63756728850 (diff)
downloadnixos-c2147948b480a887b812b79f014b27f492298055.tar
nixos-c2147948b480a887b812b79f014b27f492298055.tar.gz
nixos-c2147948b480a887b812b79f014b27f492298055.tar.bz2
nixos-c2147948b480a887b812b79f014b27f492298055.tar.xz
nixos-c2147948b480a887b812b79f014b27f492298055.zip
Fix path in logging script
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index d2f02b23..e77c81f1 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -509,6 +509,8 @@ in rec {
509 logEmail unix - n n - 10 pipe flags=Rq user=nobody null_sender= argv=${pkgs.writeScript "logEmail" '' 509 logEmail unix - n n - 10 pipe flags=Rq user=nobody null_sender= argv=${pkgs.writeScript "logEmail" ''
510 #!${pkgs.stdenv.shell} 510 #!${pkgs.stdenv.shell}
511 511
512 export PATH=${config.security.wrapperDir}:/run/current-system/sw/bin
513
512 mailFile=/tmp/logEmail/$(date +"%F-%H%M%S").$$ 514 mailFile=/tmp/logEmail/$(date +"%F-%H%M%S").$$
513 515
514 mkdir -p -m 700 /tmp/logEmail 516 mkdir -p -m 700 /tmp/logEmail