summaryrefslogtreecommitdiff
path: root/ymir
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-16 21:51:32 +0100
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-16 21:51:32 +0100
commit8b8f8d3b6e15b9121373d27b51e2edee561dc2d2 (patch)
tree88e793436cb1843ddb58b719490033515778fe60 /ymir
parent29362a81efcc6c3145b999e2324090b12eb2ecb4 (diff)
downloadnixos-8b8f8d3b6e15b9121373d27b51e2edee561dc2d2.tar
nixos-8b8f8d3b6e15b9121373d27b51e2edee561dc2d2.tar.gz
nixos-8b8f8d3b6e15b9121373d27b51e2edee561dc2d2.tar.bz2
nixos-8b8f8d3b6e15b9121373d27b51e2edee561dc2d2.tar.xz
nixos-8b8f8d3b6e15b9121373d27b51e2edee561dc2d2.zip
Fix path to mlmmj
Diffstat (limited to 'ymir')
-rw-r--r--ymir/mlmmj-expose.hs2
-rw-r--r--ymir/mlmmj-expose.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/ymir/mlmmj-expose.hs b/ymir/mlmmj-expose.hs
index 169fbb42..f074659b 100644
--- a/ymir/mlmmj-expose.hs
+++ b/ymir/mlmmj-expose.hs
@@ -109,7 +109,7 @@ main = do
109 uuidTrans' (x:xs) = x : uuidTrans' xs 109 uuidTrans' (x:xs) = x : uuidTrans' xs
110 getContents >>= writeFile fName 110 getContents >>= writeFile fName
111 hPrintf stdout "Forwarding mail to <%s>, subscribed to %s\n" recipient (takeBaseName listDir) 111 hPrintf stdout "Forwarding mail to <%s>, subscribed to %s\n" recipient (takeBaseName listDir)
112 callProcess "${pkgs.mlmmj}/bin/mlmmj-send" ["-L", listDir, "-l", "6", "-m", fName, "-T", recipient] 112 callProcess "@mlmmj@/bin/mlmmj-send" ["-L", listDir, "-l", "6", "-m", fName, "-T", recipient]
113 removeFile fName 113 removeFile fName
114 [] -> die "Unknown extension" 114 [] -> die "Unknown extension"
115 _ -> die "Ambiguous extension" 115 _ -> die "Ambiguous extension"
diff --git a/ymir/mlmmj-expose.nix b/ymir/mlmmj-expose.nix
index 370219d3..1eac7c7b 100644
--- a/ymir/mlmmj-expose.nix
+++ b/ymir/mlmmj-expose.nix
@@ -12,7 +12,7 @@ let
12 ]; 12 ];
13 mlmmj-exposed = pkgs.stdenv.mkDerivation { 13 mlmmj-exposed = pkgs.stdenv.mkDerivation {
14 name = "mlmmj-expose"; 14 name = "mlmmj-expose";
15 src = ./mlmmj-expose.hs; 15 src = (pkgs.substituteAll { src = ./mlmmj-expose.hs; inherit (pkgs) mlmmj; });
16 buildCommand = '' 16 buildCommand = ''
17 mkdir -p $out/bin 17 mkdir -p $out/bin
18 #cp $src $out/bin/.mlmmj-exposed 18 #cp $src $out/bin/.mlmmj-exposed