diff options
author | Andrey Mokhov <andrey.mokhov@gmail.com> | 2019-01-10 00:18:24 +0000 |
---|---|---|
committer | Alp Mestanogullari <alp@well-typed.com> | 2019-01-11 13:41:22 -0500 |
commit | f80449799015c010501884fc7b3fdeae002ff375 (patch) | |
tree | 5c40ab6c853005d9916aa23a6edcdcded37a4ed9 | |
parent | c2455e647501c5a382861196b64df3dd05b620a2 (diff) | |
download | haskell-wip/andrey/windows-cabal.tar.gz |
Hadrian: Use the Cabal build script on Windows by defaultwip/andrey/windows-cabal
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.bat | 6 |
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 %* |