diff --git a/appveyor.yml b/appveyor.yml index e9686b5..8d44ac3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,10 +22,10 @@ install: - ps: > if((Test-Path $env:STACK_ROOT) -ne $true) { if($env:PLATFORM -eq 'x86') { - $stackUrl = 'https://www.stackage.org/stack/windows-i386'; + $stackUrl = 'https://github.com/commercialhaskell/stack/releases/download/v1.6.5/stack-1.6.5-windows-i386.zip'; } elseif($env:PLATFORM -eq 'x64') { - $stackUrl = 'https://www.stackage.org/stack/windows-x86_64'; + $stackUrl = 'https://github.com/commercialhaskell/stack/releases/download/v1.6.5/stack-1.6.5-windows-x86_64.zip'; } Invoke-WebRequest -OutFile C:\stack.zip $stackUrl; Add-Type -AssemblyName System.IO.Compression.FileSystem; diff --git a/stack.yaml b/stack.yaml index 9fa26ba..10e6942 100644 --- a/stack.yaml +++ b/stack.yaml @@ -4,9 +4,14 @@ packages: - '.' extra-deps: - uri-0.1.6.4 +- Win32-2.6.2.0 ## INSERT CODECOV HERE -- DO NOT REMOVE THIS COMMENT. SEE ALSO ISSUE #156. ## extra-package-dbs: [] ghc-options: "$locals": -fhide-source-paths # http://hsyl20.fr/home/posts/2018-01-15-ghc-hiding-source-and-object-paths.html -require-stack-version: ">=1.6.5" + +require-stack-version: + # CHECK: If we change the minimum version of Stack the download URLs in + # *appveyor.yml* file also should be updated. + ">=1.6.5"