File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -467,7 +467,7 @@ Where again, `<PATTERN>` is the name of the folder listed in the
467467[ test/integration/tests/] ( https://github.com/commercialhaskell/stack/tree/master/test/integration/tests )
468468directory.
469469
470- You can disable a few integration tests through the -n option :
470+ You can disable a few integration tests through the -n option :
471471
472472~~~ text
473473stack build --flag stack:integration-tests stack --exec "stack-integration-test -n <PATTERN1> -n <PATTERN2>"
@@ -563,6 +563,22 @@ Stan is a Haskell static analysis tool. As of 29 August 2022, it does not
563563support GHC >= 9.0.1 and Stack is built with GHC >= 9.2.4. Consequently, this
564564workflow does not run. Its intent is to apply Stan to Stack.
565565
566+ ## Haskell Language Server
567+
568+ If you use Stack to build Stack, then you should find that, after having
569+ commanded ` stack build ` , command ` stack ghci ` will work as expected.
570+ (` stack build ` causes Cabal (the library) to create the automatically generated
571+ module ` Stack_build ` .) Consequently, the following
572+ [ cradle (` hie.yaml ` )] ( https://github.com/haskell/hie-bios ) should suffice to
573+ configure Haskell Language Server (HLS) explicitly:
574+ ~~~ yaml
575+ cradle :
576+ stack :
577+ ~~~
578+
579+ A cradle is not committed to Stack's repository because it imposes a choice of
580+ build tool.
581+
566582# # Slack channel
567583
568584If you're making deep changes and real-time communication with the Stack team
You can’t perform that action at this time.
0 commit comments