From 15ce4973ea14d3ca5bf8fc58ed61643a98d7403c Mon Sep 17 00:00:00 2001 From: Luke Lau Date: Tue, 28 Jul 2020 12:39:39 +0100 Subject: [PATCH] Add session-loader to hie.yaml (haskell/ghcide#714) --- ghcide/hie.yaml | 2 ++ ghcide/session-loader/Development/IDE/Session.hs | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ghcide/hie.yaml b/ghcide/hie.yaml index 7d6a18fec5..5023c1c093 100644 --- a/ghcide/hie.yaml +++ b/ghcide/hie.yaml @@ -10,6 +10,8 @@ cradle: component: "ghcide:lib:ghcide" - path: "./exe" component: "ghcide:exe:ghcide" + - path: "./session-loader" + component: "ghcide:lib:ghcide" - path: "./test" component: "ghcide:test:ghcide-tests" - path: "./bench" diff --git a/ghcide/session-loader/Development/IDE/Session.hs b/ghcide/session-loader/Development/IDE/Session.hs index d4c6c04ca2..6ccb15a837 100644 --- a/ghcide/session-loader/Development/IDE/Session.hs +++ b/ghcide/session-loader/Development/IDE/Session.hs @@ -206,8 +206,6 @@ loadSession dir = do -- cradle is let progMsg = "Setting up project " <> T.pack (takeBaseName (cradleRootDir cradle)) - - eopts <- withIndefiniteProgress progMsg NotCancellable $ cradleToOptsAndLibDir cradle cfp