diff options
author | Vladislav Shtepin <anrock623@gmail.com> | 2017-11-03 22:40:37 +0300 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2017-11-07 13:34:40 +0100 |
commit | eb178a5ba4c9432e951b6c206f8baf21257ecb28 (patch) | |
tree | 8889b98f1129ad9034ab71aacfb6988c0b53cf84 /tests | |
parent | b6ebb3588358ee1bbd4b2cc114aa6650d14baaff (diff) |
Fix windows build using unix-compat
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CompileTest.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/CompileTest.hs b/tests/CompileTest.hs index a2187d2..0cbb044 100644 --- a/tests/CompileTest.hs +++ b/tests/CompileTest.hs @@ -1,6 +1,5 @@ {-# LANGUAGE ScopedTypeVariables #-} -import System.Posix.Env (setEnv) import System.Process import System.Exit import System.IO @@ -36,7 +35,7 @@ withinRange'CH v r = main :: IO () main = do - flip (setEnv "HOME") True =<< fromMaybe "/tmp" <$> lookupEnv "TMPDIR" + setEnv "HOME" =<< fromMaybe "/tmp" <$> lookupEnv "TMPDIR" _ <- rawSystem "cabal" ["update"] let parseVer' "HEAD" = Left HEAD |