Skip to content

Commit 93aafa8

Browse files
authored
Merge pull request commercialhaskell#6612 from benz0li/update-dev-containers-a369570
Dev Containers: Update HLS to v2.9.0.0
2 parents 6c6eca0 + c6bcb2b commit 93aafa8

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

.devcontainer/devcontainer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"dockerfile": "GHC.Dockerfile",
55
"args": {
66
"GHC_VERSION": "9.6.5",
7-
"HLS_VERSION": "2.8.0.0",
7+
"HLS_VERSION": "2.9.0.0",
88
"USE_ZSH_FOR_ROOT": "unset-to-use-ash",
99
"SET_LANG": "C.UTF-8",
1010
"SET_TZ": ""
1111
}
1212
},
1313

1414
"onCreateCommand": "onCreateCommand.sh",
15-
"postCreateCommand": "cabal update",
15+
"postCreateCommand": "postCreateCommand.sh",
1616

1717
"features": {
1818
"ghcr.io/devcontainers/features/common-utils:2": {

.devcontainer/ghc-9.10.1/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313

1414
"onCreateCommand": "onCreateCommand.sh",
15-
"postCreateCommand": "cabal update",
15+
"postCreateCommand": "postCreateCommand.sh",
1616

1717
"features": {
1818
"ghcr.io/devcontainers/features/common-utils:2": {

.devcontainer/ghc-9.8.2/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313

1414
"onCreateCommand": "onCreateCommand.sh",
15-
"postCreateCommand": "cabal update",
15+
"postCreateCommand": "postCreateCommand.sh",
1616

1717
"features": {
1818
"ghcr.io/devcontainers/features/common-utils:2": {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env bash
2+
# Copyright (c) 2023 b-data GmbH.
3+
# Distributed under the terms of the MIT License.
4+
5+
set -e
6+
7+
# Change ownership of the stack folder
8+
sudo chown "$(id -u)":"$(id -g)" /workspaces/stack
9+
10+
# Updates list of known packages
11+
cabal update

0 commit comments

Comments
 (0)