Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
fce6921f
Commit
fce6921f
authored
Feb 01, 2016
by
Neil Mitchell
Browse files
#189
, clear PWD so we can be sure it has the Unix-style path even on Windows
parent
4cc0abb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Environment.hs
View file @
fce6921f
...
...
@@ -11,6 +11,11 @@ setupEnvironment = do
-- ghc-cabal refuses to work when GHC_PACKAGE_PATH is set (e.g. by Stack)
unsetEnv
"GHC_PACKAGE_PATH"
-- 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 https://github.com/snowleopard/shaking-up-ghc/issues/189 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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment