summaryrefslogtreecommitdiff
path: root/ymir
diff options
context:
space:
mode:
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