File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
ghcide/session-loader/Development/IDE Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ loadWithImplicitCradle mHieYaml rootDir = do
268268
269269getInitialGhcLibDirDefault :: Recorder (WithPriority Log ) -> FilePath -> IO (Maybe LibDir )
270270getInitialGhcLibDirDefault recorder rootDir = do
271- hieYaml <- findCradle def rootDir
271+ hieYaml <- findCradle def ( rootDir </> " a " )
272272 cradle <- loadCradle def hieYaml rootDir
273273 libDirRes <- getRuntimeGhcLibDir (toCologActionWithPrio (cmapWithPrio LogHieBios recorder)) cradle
274274 case libDirRes of
Original file line number Diff line number Diff line change @@ -618,6 +618,7 @@ runSessionWithServer' plugins conf sconf caps root s = withLock lock $ keepCurr
618618 , argsDefaultHlsConfig = conf
619619 , argsLogger = argsLogger
620620 , argsIdeOptions = ideOptions
621+ , argsProjectRoot = Just root
621622 }
622623
623624 x <- runSessionWithHandles inW outR sconf' caps root s
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ defaultMain recorder args idePlugins = do
9090
9191 BiosMode PrintCradleType -> do
9292 dir <- IO. getCurrentDirectory
93- hieYaml <- Session. findCradle def dir
93+ hieYaml <- Session. findCradle def ( dir </> " a " )
9494 cradle <- Session. loadCradle def hieYaml dir
9595 print cradle
9696
You can’t perform that action at this time.
0 commit comments