Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Fix cabal-hie-install in windows azure ci #1627

Merged
merged 4 commits into from
Feb 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .azure/windows-cabal.bashrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export CABAL_DIR="D:\cabal"
export GHCS_PATH=$(cygpath $ProgramData)/chocolatey/lib/ghc/tools
export GHC_PATH=$GHCS_PATH/ghc-$GHC_VERSION
export CABAL_ROOT=$(cygpath $CABAL_DIR)
Expand Down
1 change: 1 addition & 0 deletions .azure/windows-cabal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
GHC_VERSION: "8.4.4"
variables:
CABAL_VERSION: "3.0.0.0"
CABAL_DIR: "D:\\cabal"
CABAL_STORE_DIR: "D:\\sd"
LIQUID_VERSION: "0.8.6.2"
STACK_ROOT: "D:\\sr"
Expand Down
5 changes: 3 additions & 2 deletions .azure/windows-installhs-cabal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ jobs:
variables:
GHC_VERSION: "8.6.5"
CABAL_VERSION: "3.0.0.0"
PROJECT_FILE: "./install/shake.project"
CABAL_DIR: "" # To use the default one (cabal-hie-install latest fails with a custom one)
CABAL_STORE_DIR: "D:\\sd"
PROJECT_FILE: "./install/shake.project"
steps:
- task: Cache@2
inputs:
Expand All @@ -18,7 +19,7 @@ jobs:
- bash: |
source .azure/windows-cabal.bashrc
mkdir -p $CABAL_ROOT
tar -vxzf .azure-cache/cabal-root.tar.gz -C /c
tar -vxzf .azure-cache/cabal-root.tar.gz -C /d
mkdir -p $CABAL_STORE_DIR
tar -vxzf .azure-cache/cabal-store.tar.gz -C /d
mkdir -p ./dist-newstyle
Expand Down