summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Mokhov <andrey.mokhov@gmail.com>2019-01-10 00:18:24 +0000
committerBen Gamari <ben@smart-cactus.org>2019-01-16 14:17:38 -0500
commit8d594beff68a6b12cdc8ccbd0cfc3e11cf184bfc (patch)
tree553cc1aa6a5bba40cda7fe8806d0056086bb03fd
parentbfb3e3072d25d983e2245e2cf2d491981f49549c (diff)
downloadhaskell-8d594beff68a6b12cdc8ccbd0cfc3e11cf184bfc.tar.gz
Hadrian: Use the Cabal build script on Windows by default
The Stack build script `build.stack.bat` currently fails on Windows when invoked with the `--configure` flag, see: https://ghc.haskell.org/trac/ghc/ticket/15982 The Cabal build script `build.cabal.bat` works reliably on my Windows machine, so I am proposing to switch to it by default, that is, to run it from the default `build.bat` script. The Stack build script can still be run directly if need be.
-rw-r--r--hadrian/build.bat6
1 files changed, 2 insertions, 4 deletions
diff --git a/hadrian/build.bat b/hadrian/build.bat
index 01a869f4f7..e71f886462 100644
--- a/hadrian/build.bat
+++ b/hadrian/build.bat
@@ -1,6 +1,4 @@
@echo off
-setlocal
-cd %~dp0
-rem By default on Windows we build Hadrian using Stack
-./build.stack.bat %*
+rem By default on Windows we build Hadrian using Cabal
+hadrian/build.cabal.bat %*