File tree 3 files changed +3
-2
lines changed
ghcide/session-loader/Development/IDE
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
268
268
269
269
getInitialGhcLibDirDefault :: Recorder (WithPriority Log ) -> FilePath -> IO (Maybe LibDir )
270
270
getInitialGhcLibDirDefault recorder rootDir = do
271
- hieYaml <- findCradle def rootDir
271
+ hieYaml <- findCradle def ( rootDir </> " a " )
272
272
cradle <- loadCradle def hieYaml rootDir
273
273
libDirRes <- getRuntimeGhcLibDir (toCologActionWithPrio (cmapWithPrio LogHieBios recorder)) cradle
274
274
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
618
618
, argsDefaultHlsConfig = conf
619
619
, argsLogger = argsLogger
620
620
, argsIdeOptions = ideOptions
621
+ , argsProjectRoot = Just root
621
622
}
622
623
623
624
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
90
90
91
91
BiosMode PrintCradleType -> do
92
92
dir <- IO. getCurrentDirectory
93
- hieYaml <- Session. findCradle def dir
93
+ hieYaml <- Session. findCradle def ( dir </> " a " )
94
94
cradle <- Session. loadCradle def hieYaml dir
95
95
print cradle
96
96
You can’t perform that action at this time.
0 commit comments