Skip to content

Commit 87515a3

Browse files
committed
Use hie-bios 0.12
1 parent 1ebb619 commit 87515a3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ package *
5050

5151
write-ghc-environment-files: never
5252

53-
index-state: 2023-01-27T00:00:00Z
53+
index-state: 2023-03-15T00:00:00Z
5454

5555
constraints:
5656
-- For GHC 9.4, older versions of entropy fail to build on Windows

ghcide/ghcide.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ library
103103
ghc-check >=0.5.0.8,
104104
ghc-paths,
105105
cryptohash-sha1 >=0.11.100 && <0.12,
106-
hie-bios ^>= 0.11.0,
106+
hie-bios == 0.12.0,
107107
-- implicit-hie 0.1.3.0 introduced an unexpected behavioral change.
108108
-- https://github.com/Avi-D-coder/implicit-hie/issues/50
109109
-- to make sure ghcide behaves in a desirable way, we put implicit-hie

ghcide/session-loader/Development/IDE/Session.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ getInitialGhcLibDirDefault recorder rootDir = do
262262
let log = logWith recorder
263263
hieYaml <- findCradle def rootDir
264264
cradle <- loadCradle def hieYaml rootDir
265-
libDirRes <- getRuntimeGhcLibDir cradle
265+
libDirRes <- getRuntimeGhcLibDir (toCologActionWithPrio (cmapWithPrio LogHieBios recorder)) cradle
266266
case libDirRes of
267267
CradleSuccess libdir -> pure $ Just $ LibDir libdir
268268
CradleFail err -> do
@@ -725,7 +725,7 @@ cradleToOptsAndLibDir recorder cradle file = do
725725
case cradleRes of
726726
CradleSuccess r -> do
727727
-- Now get the GHC lib dir
728-
libDirRes <- getRuntimeGhcLibDir cradle
728+
libDirRes <- getRuntimeGhcLibDir (toCologActionWithPrio (cmapWithPrio LogHieBios recorder)) cradle
729729
case libDirRes of
730730
-- This is the successful path
731731
CradleSuccess libDir -> pure (Right (r, libDir))

0 commit comments

Comments
 (0)