Skip to content

Commit 66b1250

Browse files
committed
Add comment with explanation and issue link
1 parent af7f0b4 commit 66b1250

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

haskell-language-server.cabal

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,9 @@ executable haskell-language-server-wrapper
205205
, process
206206
default-language: Haskell2010
207207

208+
-- This common stanza simulates a previous private lib
209+
-- We removed it due to issues with stack when loading the project using a stack based hie.yaml
210+
-- See https://github.com/haskell/haskell-language-server/issues/114
208211
common hls-test-utils
209212
import: agpl
210213
hs-source-dirs: test/utils

hie.yaml.cbl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ cradle:
77
- path: "./test/functional/"
88
component: "haskell-language-server:func-test"
99

10-
- path: "./test/utils/"
11-
component: "haskell-language-server:hls-test-utils"
10+
- path: "./test/util/"
11+
component: "haskell-language-server:func-test"
1212

1313
- path: "./exe/Main.hs"
1414
component: "haskell-language-server:exe:haskell-language-server"

hie.yaml.stack

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ cradle:
66
- path: "./test/functional/"
77
component: "haskell-language-server:func-test"
88

9-
# This target does not currently work (stack 2.1.3)
10-
# - path: "./test/utils"
11-
# component: "haskell-language-server:lib:hls-test-utils"
9+
- path: "./test/utils/"
10+
component: "haskell-language-server:func-test"
1211

1312
- path: "./exe/Main.hs"
1413
component: "haskell-language-server:exe:haskell-language-server"

0 commit comments

Comments
 (0)