File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 48
48
echo "tests: false" >> cabal.project.local
49
49
echo "benchmarks: false" >> cabal.project.local
50
50
51
+ - name : Disable -dynamic
52
+ run : |
53
+ echo "package haskell-language-server" >> cabal.project.local
54
+ echo " flags: -dynamic" >> cabal.project.local
55
+
51
56
- uses : ./.github/actions/setup-build
52
57
with :
53
58
ghc : ${{ matrix.ghc }}
Original file line number Diff line number Diff line change @@ -208,6 +208,11 @@ flag brittany
208
208
default : True
209
209
manual : True
210
210
211
+ flag dynamic
212
+ description : Build with the dyn rts
213
+ default : True
214
+ manual : True
215
+
211
216
common example-plugins
212
217
hs-source-dirs : plugins/default/src
213
218
other-modules : Ide.Plugin.Example,
@@ -354,7 +359,6 @@ executable haskell-language-server
354
359
other-modules : Plugins
355
360
356
361
ghc-options :
357
- -dynamic
358
362
-threaded
359
363
-- allow user RTS overrides
360
364
-rtsopts
@@ -365,6 +369,8 @@ executable haskell-language-server
365
369
-Wno-unticked-promoted-constructors
366
370
if flag(pedantic)
367
371
ghc-options : -Werror
372
+ if flag(dynamic)
373
+ ghc-options : -dynamic
368
374
369
375
build-depends :
370
376
, aeson
You can’t perform that action at this time.
0 commit comments