Run cabal in -v3 mode to reveal the problem.
authorAndrey Mokhov <andrey.mokhov@gmail.com>
Wed, 6 Jan 2016 23:36:07 +0000 (23:36 +0000)
committerAndrey Mokhov <andrey.mokhov@gmail.com>
Wed, 6 Jan 2016 23:36:07 +0000 (23:36 +0000)
See #110. [skip ci]

.appveyor.yml

index d8bb09d..0b90efa 100644 (file)
@@ -8,12 +8,11 @@ install:
     - set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\local\bin;C:\msys64\usr\bin;%PATH%
     - bash -lc "pacman -S --noconfirm git binutils p7zip gcc"
     - bash -lc "curl -LsS http://www.haskell.org/ghc/dist/7.10.1/ghc-7.10.1-x86_64-unknown-mingw32.tar.xz | tar -xJ -C /mingw64 --strip-components=1"
-    - bash -lc "mkdir -p /home/cabal"
     - bash -lc "mkdir -p /usr/local"
     - bash -lc "mkdir -p /usr/local/bin"
     - bash -lc "curl -LsS https://www.haskell.org/cabal/release/cabal-install-1.22.0.0/cabal-1.22.0.0-i386-unknown-mingw32.tar.gz | tar -xz -C /usr/local/bin"
     - bash -lc "mv /usr/local/bin/cabal-1.22.0.0-i386-unknown-mingw32.exe /usr/local/bin/cabal.exe"
-    - cabal update -v
+    - cabal update -v3
     - cabal install -j --prefix=/usr/local alex happy
     - git clone --recursive git://git.haskell.org/ghc.git C:\msys64\mingw64\home\ghc\tmp
     - bash -lc "mv /home/ghc/tmp/* /home/ghc"