Skip to content

Commit

Permalink
Fix prettyprinter import warnings, bump base bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
jhrcek committed Feb 27, 2024
1 parent dc1ad66 commit d0fc0bd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion exe/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Main where
import Control.Monad ( forM )
import qualified Colog.Core as L
import Data.Version (showVersion)
import Data.Text.Prettyprint.Doc
import Prettyprinter
import Options.Applicative
import System.Directory (getCurrentDirectory)
import System.IO (stdout, hSetEncoding, utf8)
Expand Down
8 changes: 4 additions & 4 deletions hie-bios.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Description: Set up a GHC API session and obtain flags required to co
Category: Development
Build-Type: Simple
-- No glob syntax until GHC 8.6 because of stack
Extra-Source-Files: ChangeLog.md
README.md
extra-doc-files: ChangeLog.md
Extra-Source-Files: README.md
wrappers/cabal
wrappers/cabal.hs
tests/configs/*.yaml
Expand Down Expand Up @@ -163,7 +163,7 @@ Library
Other-Modules: Paths_hie_bios
autogen-modules: Paths_hie_bios
Build-Depends:
base >= 4.14 && < 5,
base >= 4.16 && < 5,
aeson >= 1.4.4 && < 2.3,
base16-bytestring >= 0.1.1 && < 1.1,
bytestring >= 0.10.8 && < 0.13,
Expand Down Expand Up @@ -195,7 +195,7 @@ Executable hie-bios
Other-Modules: Paths_hie_bios
GHC-Options: -Wall
HS-Source-Dirs: exe
Build-Depends: base >= 4.9 && < 5
Build-Depends: base >= 4.16 && < 5
, co-log-core
, directory
, filepath
Expand Down
2 changes: 1 addition & 1 deletion src/HIE/Bios/Ghc/Check.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import qualified GHC as G
import Control.Exception
import Control.Monad.IO.Class
import Colog.Core (LogAction (..), WithSeverity (..), Severity (..), (<&), cmap)
import Data.Text.Prettyprint.Doc
import Prettyprinter

import HIE.Bios.Ghc.Api
import HIE.Bios.Ghc.Logger
Expand Down
2 changes: 1 addition & 1 deletion src/HIE/Bios/Ghc/Load.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Control.Monad.IO.Class

import Data.List

import Data.Text.Prettyprint.Doc
import Prettyprinter
import Data.IORef

import GHC
Expand Down
2 changes: 1 addition & 1 deletion src/HIE/Bios/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Control.Monad.Trans.Class
#if MIN_VERSION_base(4,9,0)
import qualified Control.Monad.Fail as Fail
#endif
import Data.Text.Prettyprint.Doc
import Prettyprinter
import System.Process.Extra (CreateProcess (env, cmdspec), CmdSpec (..))
import Data.Maybe (fromMaybe)

Expand Down

0 comments on commit d0fc0bd

Please sign in to comment.