From 54a2e3b2433476b5a85818367bdd2cb8886e6d4b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 11 Apr 2018 17:27:04 +0200 Subject: Fix hel mail --- hel.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hel.nix b/hel.nix index 3ec583dd..547778fc 100644 --- a/hel.nix +++ b/hel.nix @@ -232,7 +232,7 @@ sshsendmail unix - n n - - pipe flags=Fq user=postfix_ssh argv=${pkgs.openssh}/bin/ssh -F /var/db/postfix_ssh/ssh.config $nexthop sendmail -f $sender -G $recipient ''; transport = '' - gkleen+sent@odin.asgard.yggdrasil uucp:odin + odin.asgard.yggdrasil uucp:odin ''; extraConfig = '' always_bcc = gkleen+sent@odin.asgard.yggdrasil @@ -353,7 +353,8 @@ setgid = true; setuid = true; permissions = "u+rx,g+x,o+x"; - source = ''${pkgs.callPackage ./custom/notify-user.nix { inherit (pkgs.haskellPackages) ghcWithPackages; }}/bin/notify-gkleen''; + source = let notify-user = pkgs.callPackage ./custom/notify-user.nix { inherit (pkgs.haskellPackages) ghcWithPackages; }; + in "${notify-user}/bin/notify-gkleen"; }; }; -- cgit v1.2.3