aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/CompileTest.hs3
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