on master help sign in
Posix setEnv has a different signature.
da2fb8dNiklas Larsson
test/runtest.hs+3−1
@@ -19,7 +19,9 @@ import Text.Regex
19-- Install the setenv package on Windows.
19-- Install the setenv package on Windows.
20#if __GLASGOW_HASKELL__ < 708
20#if __GLASGOW_HASKELL__ < 708
21#ifndef mingw32_HOST_OS
21#ifndef mingw32_HOST_OS
22−import System.Posix.Env(setEnv)
22+import qualified System.Posix.Env as PE(setEnv)
23+
24+setEnv k v = PE.setEnv k v True
23#else
25#else
24import System.SetEnv(setEnv)
26import System.SetEnv(setEnv)
25#endif
27#endif