Skip to content

Commit fd351ea

Browse files
authored
Merge pull request #195 from bubba/remove-cabal-dep
Remove dependency on Cabal
2 parents 416d462 + 993b59c commit fd351ea

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

haskell-language-server.cabal

-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ library
6262
, aeson
6363
, binary
6464
, bytestring
65-
, Cabal
6665
, cabal-helper >= 1.1
6766
, containers
6867
, data-default

src/Ide/Version.hs

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ module Ide.Version where
77

88
import Data.Maybe
99
import Development.GitRev (gitCommitCount)
10-
import Distribution.System (buildArch)
11-
import Distribution.Text (display)
1210
import Options.Applicative.Simple (simpleVersion)
1311
import Ide.Cradle (execProjectGhc)
1412
import qualified HIE.Bios.Types as Bios
@@ -26,7 +24,7 @@ hlsVersion =
2624
-- See https://github.com/commercialhaskell/stack/issues/792
2725
, [" (" ++ commitCount ++ " commits)" | commitCount /= ("1"::String) &&
2826
commitCount /= ("UNKNOWN" :: String)]
29-
, [" ", display buildArch]
27+
, [" ", arch]
3028
, [" ", hlsGhcDisplayVersion]
3129
]
3230

0 commit comments

Comments
 (0)