Skip to content

Remove dependency on Cabal #195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion haskell-language-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ library
, aeson
, binary
, bytestring
, Cabal
, cabal-helper >= 1.1
, containers
, data-default
Expand Down
4 changes: 1 addition & 3 deletions src/Ide/Version.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ module Ide.Version where

import Data.Maybe
import Development.GitRev (gitCommitCount)
import Distribution.System (buildArch)
import Distribution.Text (display)
import Options.Applicative.Simple (simpleVersion)
import Ide.Cradle (execProjectGhc)
import qualified HIE.Bios.Types as Bios
Expand All @@ -26,7 +24,7 @@ hlsVersion =
-- See https://github.com/commercialhaskell/stack/issues/792
, [" (" ++ commitCount ++ " commits)" | commitCount /= ("1"::String) &&
commitCount /= ("UNKNOWN" :: String)]
, [" ", display buildArch]
, [" ", arch]
, [" ", hlsGhcDisplayVersion]
]

Expand Down