Reset GHC_PACKAGE_PATH varialbe (4th try).
authorAndrey Mokhov <andrey.mokhov@gmail.com>
Sat, 9 Jan 2016 18:15:23 +0000 (18:15 +0000)
committerAndrey Mokhov <andrey.mokhov@gmail.com>
Sat, 9 Jan 2016 18:15:23 +0000 (18:15 +0000)
See #110. [skip ci]

build.bat

index 4cbbc42..2901686 100644 (file)
--- a/build.bat
+++ b/build.bat
@@ -17,6 +17,6 @@
                %*\r
 \r
 @rem Unset GHC_PACKAGE_PATH variable, as otherwise ghc-cabal complains\r
-@if defined GHC_PACKAGE_PATH ( set GHC_PACKAGE_PATH )\r
+@set GHC_PACKAGE_PATH=\r
 \r
 @ghc %ghcArgs% && .shake\build %shakeArgs%\r