Skip to content

Commit abb3953

Browse files
committed
Disable ghci objects in all the stack descriptors
This is needed to build with Cabal v1 if ghc is built with DYNAMIC_GHC_PROGRAMS=NO which is the case e.g. in Windows
1 parent 7e86f17 commit abb3953

8 files changed

+63
-0
lines changed

stack-8.10.1.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ extra-deps:
4141
- semigroups-0.18.5
4242
- temporary-1.2.1.1
4343

44+
configure-options:
45+
ghcide:
46+
- --disable-library-for-ghci
47+
haskell-language-server:
48+
- --disable-library-for-ghci
49+
heapsize:
50+
- --disable-library-for-ghci
51+
4452
flags:
4553
haskell-language-server:
4654
pedantic: true

stack-8.10.2.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ extra-deps:
3333
- semigroups-0.18.5
3434
- temporary-1.2.1.1
3535

36+
configure-options:
37+
ghcide:
38+
- --disable-library-for-ghci
39+
haskell-language-server:
40+
- --disable-library-for-ghci
41+
heapsize:
42+
- --disable-library-for-ghci
43+
3644
flags:
3745
haskell-language-server:
3846
pedantic: true

stack-8.6.4.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ flags:
8787
retrie:
8888
BuildExecutable: false
8989

90+
configure-options:
91+
ghcide:
92+
- --disable-library-for-ghci
93+
haskell-language-server:
94+
- --disable-library-for-ghci
95+
heapsize:
96+
- --disable-library-for-ghci
97+
9098
# allow-newer: true
9199

92100
nix:

stack-8.6.5.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ extra-deps:
7979
- with-utf8-1.0.2.1@sha256:95c02fffa643ddbeb092359802a512007c3e644cd509809f4716ad54592c437b,3057
8080
- th-env-0.1.0.2@sha256:d8f1f37f42a8f1a22404d7d0579528af18f5dac7232cca6bdbd5117c115a0ad5,1370
8181

82+
configure-options:
83+
ghcide:
84+
- --disable-library-for-ghci
85+
haskell-language-server:
86+
- --disable-library-for-ghci
87+
heapsize:
88+
- --disable-library-for-ghci
8289

8390
flags:
8491
haskell-language-server:

stack-8.8.2.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ extra-deps:
6464
- with-utf8-1.0.2.1@sha256:95c02fffa643ddbeb092359802a512007c3e644cd509809f4716ad54592c437b,3057
6565
- th-env-0.1.0.2@sha256:d8f1f37f42a8f1a22404d7d0579528af18f5dac7232cca6bdbd5117c115a0ad5,1370
6666

67+
configure-options:
68+
ghcide:
69+
- --disable-library-for-ghci
70+
haskell-language-server:
71+
- --disable-library-for-ghci
72+
heapsize:
73+
- --disable-library-for-ghci
74+
6775
flags:
6876
haskell-language-server:
6977
pedantic: true

stack-8.8.3.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ extra-deps:
5454
- stylish-haskell-0.12.2.0
5555
- temporary-1.2.1.1
5656

57+
configure-options:
58+
ghcide:
59+
- --disable-library-for-ghci
60+
haskell-language-server:
61+
- --disable-library-for-ghci
62+
heapsize:
63+
- --disable-library-for-ghci
64+
5765
flags:
5866
haskell-language-server:
5967
pedantic: true

stack-8.8.4.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ extra-deps:
5050
- stylish-haskell-0.12.2.0
5151
- temporary-1.2.1.1
5252

53+
configure-options:
54+
ghcide:
55+
- --disable-library-for-ghci
56+
haskell-language-server:
57+
- --disable-library-for-ghci
58+
heapsize:
59+
- --disable-library-for-ghci
60+
5361
flags:
5462
haskell-language-server:
5563
pedantic: true

stack.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ flags:
8383
retrie:
8484
BuildExecutable: false
8585

86+
configure-options:
87+
ghcide:
88+
- --disable-library-for-ghci
89+
haskell-language-server:
90+
- --disable-library-for-ghci
91+
heapsize:
92+
- --disable-library-for-ghci
93+
8694
# allow-newer: true
8795

8896
nix:

0 commit comments

Comments
 (0)