Skip to content

Commit 4b446ab

Browse files
committed
Remove Cabal dependency from hls-cabal-plugin
1 parent f3ad27b commit 4b446ab

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

plugins/hls-cabal-plugin/hls-cabal-plugin.cabal

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,6 @@ library
3333
build-depends:
3434
, base >=4.12 && <5
3535
, bytestring
36-
-- Ideally, we only want to support a single Cabal version, supporting
37-
-- older versions is completely pointless since Cabal is backwards compatible,
38-
-- the latest Cabal version can parse all versions of the Cabal file format.
39-
--
40-
-- However, stack is making this difficult, if we change the version of Cabal,
41-
-- we essentially need to make sure all other packages in the snapshot have their
42-
-- Cabal dependency version relaxed.
43-
-- Most packages have a Hackage revision, but stack won't pick these up (for sensible reasons)
44-
-- automatically, forcing us to manually update the packages revision id.
45-
-- This is a lot of work for almost zero benefit, so we just allow more versions here
46-
-- and we eventually completely drop support for building HLS with stack.
47-
, Cabal ^>=3.2 || ^>=3.4 || ^>=3.6 || ^>= 3.8
4836
, Cabal-syntax ^>= 3.6
4937
, deepseq
5038
, directory

0 commit comments

Comments
 (0)