We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 415602f commit 427fcf3Copy full SHA for 427fcf3
.gitpod.yml
@@ -6,7 +6,17 @@ tasks:
6
export CABAL_DIR=/workspace/.cabal
7
export STACK_ROOT=/workspace/.stack
8
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
9
- source /workspace/.ghcup/env
+
10
+ # ensure that there is an HLS binary for the installed GHC version
11
+ ghcup install --set ghc 8.10.6
12
13
+ # Fix the default Cabal config since VSCode does not see CABAL_DIR
14
+ mkdir ~/.cabal
15
+ cp /workspace/.cabal/config ~/.cabal/config
16
17
+ # Add ghcup binaries to the PATH since VSCode does not see 'source .ghcup/env'
18
+ cd /usr/local/bin
19
+ sudo ln -s /workspace/.ghcup/bin/* /usr/local/bin
20
init: |
21
cabal build --enable-tests
22
command: |
0 commit comments