-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache cabal wrapper to avoid invalidating configuration #265
Conversation
From CI:
|
EDIT: found it |
actions/setup-haskell#44 is related |
It could be avoided with something like haskell/ghcide@5b36a5f |
I know, but I am wondering whether it is ok to wait for two days, then update CI once and then merge this... |
Fair enough, not sure if it will be fixed in two days or more though 😝 |
@wz1000 I think you have to rebase on top of master, then CI should run as expected |
4fcd231
to
5f5e029
Compare
@wz1000 We will get to the bottom of it. I will boot my windows again :) puts on security helmet |
I'll try to take a look too. will share what i find |
Ok, i've tried locally this version and the command is failing in ci works for me:
It seems the wrapper in ci does not have ghc con |
readProcessWithCwd | ||
wdir "cabal" (["--builddir="<>buildDir,"v2-exec", "ghc", "-v0", "--"] ++ args) "" | ||
wdir "cabal" (["--builddir="<>buildDir,"v2-exec","--with-compiler", wrapper_fp, "ghc", "-v0", "--"] ++ args) "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wdir "cabal" (["--builddir="<>buildDir,"v2-exec","--with-compiler", wrapper_fp, "ghc", "-v0", "--"] ++ args) "" | |
wdir "cabal" (["v2-exec", "ghc", "-v0", "--"] ++ args) "" |
what about if we use the hie-bios cabaldir for cabal repl, but the user cabaldir for cabal exec (without -w)? that way cabal exec will not invalidate neither
Leads to much faster ghcide startup times.