Javier Neira

Results 527 comments of Javier Neira

Mmm, it is the first time i've seen that build error, thanks for opening the issue in the hls issue tracker. haskell-language-server is using ghcide underneath as core and adds...

> I wonder what HIE features are still missing from haskell-language-server. There are several issues in hls about [translating hie plugins](https://github.com/haskell/haskell-language-server/issues?q=is%3Aissue+is%3Aopen+label%3A%22type%3A+enhancement%22) (hlint, hoogle, etc) and new ones. Main features are...

maybe using an explicit `hie.yaml`config would be a workaround, cause that way hie does not try to build Cabal

yeah, it should work if you have only one component (lib, exe, test, etc), with more components you will need a "multi" cradle: see https://github.com/haskell/haskell-ide-engine#project-configuration

Oh sorry for the failed workaround, there is a fundamental issue beyond compiling Cabal. I think a nix user would help better, maybe @Infinisil?

> I dont think you may delete it. Cabal still needs it to build stuff, iirc. afaik `cabal` and `stack`(via `cabal-simple` i guess) generates a `Setup.hs` on the fly if...

Finally the error was throwed cause `hie` was called without `--lsp` and it tries to load everything in the project, including `Setup.hs`. So this error should not be showed if...

Uh, i thought abot that option but given it is handled by cabal in a exceptional way i guess it would be tricky: afaik cabal does not expose its build...

Maybe we should skip `Main.hs` when loading everything? At least until hie is able to handle it

@klardotsh @IlyaBizyaev hi, thanks for reporting this, could you add a link to the project , if it is public, and the full log when calling hie-wrapper in the project...