@@ -38,46 +38,27 @@ library
3838 build-depends :
3939 base >= 4.7 && < 5
4040 , aeson
41- , async
4241 , binary
43- , bytestring
4442 , Cabal
4543 , cabal-helper >= 1.0
4644 , containers
47- , data-default
4845 , deepseq
4946 , directory
50- , extra
5147 , filepath
52- , fuzzy
5348 , ghc
5449 , ghcide >= 0.1
5550 , gitrev
56- , haddock-library
5751 , hashable
5852 , haskell-lsp == 0.19. *
59- , haskell-lsp-types == 0.19. *
60- , hie-bios
53+ , hie-bios >= 0.4
6154 , hslogger
62- , mtl
63- , network-uri
6455 , optparse-simple
65- , prettyprinter
66- , prettyprinter-ansi-terminal
67- , prettyprinter-ansi-terminal
6856 , process
6957 , regex-tdfa >= 1.3.1.0
70- , rope-utf16-splay
71- , safe-exceptions
7258 , shake >= 0.17.5
73- , sorted-list
74- , stm
75- , syb
7659 , text
77- , time
7860 , transformers
7961 , unordered-containers
80- , utf8-string
8162 if impl(ghc >= 8.6 )
8263 build-depends : ormolu >= 0.0.3.1
8364
@@ -117,16 +98,21 @@ executable haskell-language-server
11798 base >= 4.7 && < 5
11899 , containers
119100 , data-default
120- , directory
121101 , extra
122102 , filepath
103+ --------------------------------------------------------------
104+ -- The MIN_GHC_API_VERSION macro relies on MIN_VERSION pragmas
105+ -- which require depending on ghc. So the tests need to depend
106+ -- on ghc if they need to use MIN_GHC_API_VERSION. Maybe a
107+ -- better solution can be found, but this is a quick solution
108+ -- which works for now.
123109 , ghc
110+ --------------------------------------------------------------
124111 , ghc-paths
125112 , ghcide
126113 , gitrev
127114 , haskell-lsp
128115 , hie-bios >= 0.4
129- , hslogger
130116 , haskell-language-server
131117 , optparse-applicative
132118 , shake >= 0.17.5
@@ -162,14 +148,11 @@ executable haskell-language-server-wrapper
162148 , filepath
163149 , gitrev
164150 , ghc
165- , ghcide
166151 , ghc-paths
167- , haskell-lsp
168152 , hie-bios
169153 , haskell-language-server
170154 , optparse-applicative
171155 , process
172- , text
173156 default-language : Haskell2010
174157
175158
@@ -183,38 +166,12 @@ test-suite func-test
183166
184167 build-depends :
185168 base >= 4.7 && < 5
186- , haskell-language-server
187169 , aeson
188- , base
189- , bytestring
190- , containers
191170 , data-default
192- , directory
193- , extra
194- , filepath
195- --------------------------------------------------------------
196- -- The MIN_GHC_API_VERSION macro relies on MIN_VERSION pragmas
197- -- which require depending on ghc. So the tests need to depend
198- -- on ghc if they need to use MIN_GHC_API_VERSION. Maybe a
199- -- better solution can be found, but this is a quick solution
200- -- which works for now.
201- , ghc
202- --------------------------------------------------------------
203- , ghcide
204- , ghc-typelits-knownnat
205- , haddock-library
206- , haskell-lsp
207- , haskell-lsp-types
208171 , hls-test-utils
209- , lens
210172 , lsp-test >= 0.10.0.0
211- , parser-combinators
212- , QuickCheck
213- , quickcheck-instances
214- , rope-utf16-splay
215173 , text
216174 , hspec
217- , hspec-core
218175 other-modules :
219176 -- CompletionSpec
220177 -- , CommandSpec
0 commit comments