@@ -42,15 +42,6 @@ common defaults
42
42
common test-defaults
43
43
ghc-options : -threaded -rtsopts -with-rtsopts=-N
44
44
45
- common common-deps
46
- build-depends :
47
- , base >= 4.16 && < 5
48
- , directory
49
- , extra
50
- , filepath
51
- , text
52
- , prettyprinter >= 1.7
53
-
54
45
-- Default warnings in HLS
55
46
common warnings
56
47
ghc-options : -Wall
@@ -434,7 +425,7 @@ flag importLens
434
425
manual : True
435
426
436
427
library hls-explicit-imports-plugin
437
- import : defaults, warnings
428
+ import : defaults, pedantic, warnings
438
429
exposed-modules : Ide.Plugin.ExplicitImports
439
430
hs-source-dirs : plugins/hls-explicit-imports-plugin/src
440
431
build-depends :
@@ -928,7 +919,7 @@ common qualifyImportedNames
928
919
cpp-options : -Dhls_qualifyImportedNames
929
920
930
921
library hls-qualify-imported-names-plugin
931
- import : defaults, pedantic, warnings
922
+ import : defaults, warnings
932
923
exposed-modules : Ide.Plugin.QualifyImportedNames
933
924
hs-source-dirs : plugins/hls-qualify-imported-names-plugin/src
934
925
build-depends :
@@ -1616,7 +1607,6 @@ test-suite hls-semantic-tokens-plugin-tests
1616
1607
1617
1608
library
1618
1609
import : defaults
1619
- , common-deps
1620
1610
, warnings
1621
1611
, pedantic
1622
1612
-- plugins
@@ -1658,22 +1648,27 @@ library
1658
1648
autogen-modules : Paths_haskell_language_server
1659
1649
hs-source-dirs : src
1660
1650
build-depends :
1651
+ , aeson-pretty
1652
+ , base >= 4.16 && < 5
1661
1653
, data-default
1654
+ , directory
1655
+ , extra
1656
+ , filepath
1662
1657
, ghc
1663
1658
, ghcide == 2.6.0.0
1664
1659
, githash >= 0.1.6.1
1665
1660
, hie-bios
1666
1661
, hls-plugin-api == 2.6.0.0
1667
1662
, optparse-applicative
1668
1663
, optparse-simple
1664
+ , prettyprinter >= 1.7
1669
1665
, process
1670
- , aeson-pretty
1666
+ , text
1671
1667
1672
1668
default-extensions : DataKinds
1673
1669
1674
1670
executable haskell-language-server
1675
1671
import : defaults
1676
- , common-deps
1677
1672
, warnings
1678
1673
, pedantic
1679
1674
main-is : Main.hs
@@ -1700,15 +1695,17 @@ executable haskell-language-server
1700
1695
ghc-options : -dynamic
1701
1696
1702
1697
build-depends :
1698
+ , base >= 4.16 && < 5
1703
1699
, haskell-language-server
1704
- , lsp
1705
1700
, hls-plugin-api
1701
+ , lsp
1702
+ , prettyprinter >= 1.7
1703
+ , text
1706
1704
1707
1705
default-extensions : DataKinds
1708
1706
1709
1707
executable haskell-language-server-wrapper
1710
1708
import : defaults
1711
- , common-deps
1712
1709
, warnings
1713
1710
, pedantic
1714
1711
main-is : Wrapper.hs
@@ -1724,14 +1721,18 @@ executable haskell-language-server-wrapper
1724
1721
"-with-rtsopts=-I0 -A128M"
1725
1722
1726
1723
build-depends :
1724
+ , base >= 4.16 && < 5
1727
1725
, data-default
1728
- , ghc
1726
+ , directory
1727
+ , extra
1728
+ , filepath
1729
1729
, ghcide
1730
1730
, haskell-language-server
1731
1731
, hie-bios
1732
1732
, hls-plugin-api
1733
1733
, lsp
1734
1734
, lsp-types
1735
+ , text
1735
1736
, transformers
1736
1737
, unliftio-core
1737
1738
if !os(windows)
@@ -1744,7 +1745,6 @@ executable haskell-language-server-wrapper
1744
1745
test-suite func-test
1745
1746
import : defaults
1746
1747
, test-defaults
1747
- , common-deps
1748
1748
, warnings
1749
1749
, pedantic
1750
1750
, refactor
@@ -1754,18 +1754,22 @@ test-suite func-test
1754
1754
ghcide :ghcide-test-preprocessor
1755
1755
1756
1756
build-depends :
1757
+ , aeson
1758
+ , base >= 4.16 && < 5
1757
1759
, bytestring
1760
+ , containers
1758
1761
, deepseq
1759
- , hashable
1760
- , lens
1762
+ , extra
1763
+ , filepath
1761
1764
, ghcide
1762
1765
, ghcide-test-utils
1763
- , hls-test-utils == 2.6.0.0
1764
- , lsp-types
1765
- , aeson
1766
+ , hashable
1766
1767
, hls-plugin-api
1768
+ , hls-test-utils == 2.6.0.0
1769
+ , lens
1767
1770
, lsp-test
1768
- , containers
1771
+ , lsp-types
1772
+ , text
1769
1773
, unordered-containers
1770
1774
1771
1775
hs-source-dirs : test/functional test/utils
@@ -1796,7 +1800,6 @@ test-suite func-test
1796
1800
1797
1801
test-suite wrapper-test
1798
1802
import : defaults
1799
- , common-deps
1800
1803
, warnings
1801
1804
, pedantic
1802
1805
type : exitcode-stdio-1.0
@@ -1805,14 +1808,16 @@ test-suite wrapper-test
1805
1808
haskell-language-server :haskell-language-server
1806
1809
1807
1810
build-depends :
1808
- process
1811
+ , base >= 4.16 && < 5
1812
+ , extra
1809
1813
, hls-test-utils
1814
+ , process
1810
1815
1811
1816
hs-source-dirs : test/wrapper
1812
1817
main-is : Main.hs
1813
1818
1814
1819
benchmark benchmark
1815
- import : defaults, warnings, common-deps
1820
+ import : defaults, warnings
1816
1821
-- Depends on shake-bench which is unbuildable after this point
1817
1822
if impl(ghc >= 9.5 )
1818
1823
buildable : False
@@ -1830,14 +1835,19 @@ benchmark benchmark
1830
1835
ViewPatterns
1831
1836
1832
1837
build-depends :
1833
- aeson,
1834
- containers,
1835
- data-default,
1836
- ghcide-bench,
1837
- haskell-language-server,
1838
- hls-plugin-api,
1839
- lens,
1840
- lens-aeson,
1841
- shake,
1842
- shake-bench == 0.2. *,
1843
- yaml
1838
+ , aeson
1839
+ , base >= 4.16 && < 5
1840
+ , containers
1841
+ , data-default
1842
+ , directory
1843
+ , extra
1844
+ , filepath
1845
+ , ghcide-bench
1846
+ , haskell-language-server
1847
+ , hls-plugin-api
1848
+ , lens
1849
+ , lens-aeson
1850
+ , shake
1851
+ , shake-bench == 0.2. *
1852
+ , text
1853
+ , yaml
0 commit comments