File tree 2 files changed +20
-0
lines changed
2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ diff --git a/session-loader/Development/IDE/Session.hs b/session-loader/Development/IDE/Session.hs
2
+ index bdd27f3d..2639631d 100644
3
+ --- a/session-loader/Development/IDE/Session.hs
4
+ +++ b/session-loader/Development/IDE/Session.hs
5
+ @@ -880,7 +880,7 @@ newComponentCache recorder exts cradlePath _cfp hsc_env old_cis new_cis = do
6
+ getSession
7
+ #endif
8
+ henv <- createHscEnvEq thisEnv (zip uids dfs)
9
+ - let targetEnv = (if isBad ci then multi_errs else [], Just henv)
10
+ + let targetEnv = ([], Just henv)
11
+ targetDepends = componentDependencyInfo ci
12
+ res = ( targetEnv, targetDepends)
13
+ logWith recorder Debug $ LogNewComponentCache res
Original file line number Diff line number Diff line change @@ -41,6 +41,13 @@ compiler-nix-name: tool: {
41
41
# `tool` normally ignores the `cabal.project` (if there is one in the hackage source).
42
42
# We need to use the github one (since it has settings to make hls build).
43
43
cabalProject = __readFile ( src + "/cabal.project" ) ;
44
+ configureArgs = "--disable-benchmarks --disable-tests" ;
45
+ modules = [ {
46
+ packages . ghcide . patches = [
47
+ # https://github.com/haskell/haskell-language-server/issues/4046#issuecomment-1926242056
48
+ ./extra/ghcide-workaround.diff
49
+ ] ;
50
+ } ] ;
44
51
} ;
45
52
happy = { version = "1.20.1.1" ; inherit cabalProjectLocal ; } ;
46
53
alex = { version = "3.2.7.3" ; inherit cabalProjectLocal ; } ;
You can’t perform that action at this time.
0 commit comments