summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trivmix.cabal2
-rw-r--r--trivmix.nix2
-rw-r--r--trivmix/Trivmix.hs2
3 files changed, 3 insertions, 3 deletions
diff --git a/trivmix.cabal b/trivmix.cabal
index aa3ea99..0149fb5 100644
--- a/trivmix.cabal
+++ b/trivmix.cabal
@@ -2,7 +2,7 @@
2-- documentation, see http://haskell.org/cabal/users-guide/ 2-- documentation, see http://haskell.org/cabal/users-guide/
3 3
4name: trivmix 4name: trivmix
5version: 3.1.3 5version: 3.1.4
6-- synopsis: 6-- synopsis:
7-- description: 7-- description:
8license: PublicDomain 8license: PublicDomain
diff --git a/trivmix.nix b/trivmix.nix
index 22961b0..34b430a 100644
--- a/trivmix.nix
+++ b/trivmix.nix
@@ -5,7 +5,7 @@
5}: 5}:
6mkDerivation { 6mkDerivation {
7 pname = "trivmix"; 7 pname = "trivmix";
8 version = "3.1.3"; 8 version = "3.1.4";
9 src = ./.; 9 src = ./.;
10 isLibrary = true; 10 isLibrary = true;
11 isExecutable = true; 11 isExecutable = true;
diff --git a/trivmix/Trivmix.hs b/trivmix/Trivmix.hs
index 825e3fa..0758921 100644
--- a/trivmix/Trivmix.hs
+++ b/trivmix/Trivmix.hs
@@ -153,7 +153,7 @@ trivmix Options{..} = do
153 balance <- newMVar initialBalance 153 balance <- newMVar initialBalance
154 level' <- newMVar initialLevel 154 level' <- newMVar initialLevel
155 let withFiles = foldl (.) id $ map (\f -> onStateFile f (show initialLevel ++ "\n")) levelFiles 155 let withFiles = foldl (.) id $ map (\f -> onStateFile f (show initialLevel ++ "\n")) levelFiles
156 ++ map (\f -> onStateFile b (show initialBalance ++ "\n")) balanceFiles 156 ++ map (\f -> onStateFile f (show initialBalance ++ "\n")) balanceFiles
157 withFiles $ withINotify $ \inotify -> do 157 withFiles $ withINotify $ \inotify -> do
158 handleFiles inotify level levelFiles 158 handleFiles inotify level levelFiles
159 handleFiles inotify balance levelFiles 159 handleFiles inotify balance levelFiles