Commit 0cf18c98 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Merge pull request #199 from ndmitchell/master

Clear PWD
parents 4cc0abb9 fce6921f
......@@ -11,6 +11,11 @@ setupEnvironment = do
-- ghc-cabal refuses to work when GHC_PACKAGE_PATH is set (e.g. by Stack)
-- in MinGW if PWD is set to a Windows "C:\\" style path then configure
-- `pwd` will return the Windows path, and then modifying $PATH will fail.
-- See for details.
unsetEnv "PWD"
-- On Windows, some path variables start a prefix like "C:\\" which may
-- lead to failures of scripts such as autoreconf. One particular variable
-- which causes issues is ACLOCAL_PATH. At the moment we simply reset it
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment