-
Notifications
You must be signed in to change notification settings - Fork 211
readCreateProcess error when using cabal v2-build #1407
Comments
Does exists the |
The Atom HIE extension is the one making that call. How could I tell it to add |
The command should be executed in a shell. For example if i run the command in windows (it finish succesfully in my case):
Note the
part |
Running:
Gives:
Running with verbose gives:
|
@jneira Also, HIE running this command with "v1-style" seems wrong since I built the project using |
In VSCode I am getting this error:
|
Ignore the above error, that was without doing This is the error after doing the v2 build:
|
Hi, i've got the same error in a cabal project with an executable and i've remembered there is a previous issue about: #1015 (sorry for not link it early) In that issue:
|
@jneira Thank you! You're a hero. At least there is a workaround which if I understand correctly would only need to be done once and then later HIE builds would work fine. I am still confused as to why the command references cabal v1 though. Oh, and your link to the PR is not pointing at any PR. Could you update it please? |
You are welcome, link updated! |
Fyi, all-hies now has support to build the hie-bios PR, see https://github.com/infinisil/all-hies#hie-bios-versions (not cached though) |
@infinisil I tried to use it and got this: infinisil/all-hies#27 |
PR #1126 has landed bringing support for Cabal 3.0.0.0 and nix-style builds! |
Does HIE work with cabal v2-build?
For me it is throwing the following error:
I am using HIE installed via https://github.com/Infinisil/all-hies on NixOS.
Running HIE in terminal seems to work fine:
If you wish to reproduce the issue, this is the project I am testing on: https://github.com/fairy-tale-agi-solutions/haskell-editor-setup
The text was updated successfully, but these errors were encountered: