haskell-language-server/stack.yaml

54 lines
884 B
YAML
Raw Normal View History

resolver: lts-22.9 # ghc-9.6.4
2020-01-25 17:33:53 +03:00
packages:
- .
- ./hie-compat
- ./hls-graph
- ./ghcide/
- ./hls-plugin-api
- ./hls-test-utils
# - ./shake-bench
2020-07-20 14:19:42 +03:00
ghc-options:
"$everything": -haddock
allow-newer: true
extra-deps:
- floskell-0.11.1
- retrie-1.2.2
2024-02-15 12:40:20 +03:00
- hiedb-0.6.0.0
- hie-bios-0.14.0
Add support for multi unit argument syntax (#3462) * Add support for the multi unit argument syntax introduced in GHC 9.4: https://downloads.haskell.org/ghc/9.4.4/docs/users_guide/using.html#multiple-home-units We now support arguments of the form ``` -unit @unitA -unit @unitB ``` where the response files `unitA` and `unitB` contain the actual list of arguments for that unit: ``` -this-unit-id a-0.1.0.0 -i -isrc A1 A2 ``` Also refactor the session loader and simplify it. Also adds error messages on GHC 9.4 if the units are not closed (#3422). fixes Fix closure check session-loader: override old units with new in multi-unit support Remove implicit-hie session-loader: remember which files caused old components to be loaded, and also pass them on to hie-bios so it can in turn pass them to `cabal repl` when loading newer components. This allows us to create valid set of build flags encompassing both the old and new components, and the closure of all components in between. The observation is that if you want to load some components X, Y, Z and so on, cabal repl X Y Z ... will be more likely to give you a valid multi component build plan/flags than cabal repl all, or any way of combining the results of cabal repl X, cabal repl Y ... Use new hie-bios Move implicit cradles to HLS Fix build on 9.0 Werror Improve handling of specialTarget * hie-bios doesn't mention the component name in the message anymore * stack fixes * wrapper: remove unused argument * werror * werror * Implicit cradle: match implicit-hie-cradle logic * Fix eval plugin * ignore multi unit tests on 9.2 * Some fixes for 9.2 * Add hie.yaml for call-hierarchy-plugin tests * Add hie.yaml for explicit-record-fields-plugin * Add hie.yaml for hls-overloaded-record-dot-plugin
2023-11-23 03:08:04 +03:00
- implicit-hie-0.1.4.0
- lsp-2.6.0.0
- lsp-test-0.17.0.2
- lsp-types-2.2.0.0
- monad-dijkstra-0.1.1.4
# stan and friends
- stan-0.1.2.0
- dir-traverse-0.2.3.0
- extensions-0.1.0.1
- tomland-1.3.3.2
- trial-0.0.0.0
- trial-optparse-applicative-0.0.0.0
- trial-tomland-0.0.0.0
- validation-selective-0.2.0.0
configure-options:
ghcide:
- --disable-library-for-ghci
haskell-language-server:
- --disable-library-for-ghci
2020-12-30 01:58:59 +03:00
flags:
haskell-language-server:
pedantic: true
retrie:
BuildExecutable: false
nix:
packages: [ icu libcxx zlib ]
2020-01-30 00:15:40 +03:00
concurrent-tests: false