This repository was archived by the owner on Oct 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 204
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
readCreateProcess error when using cabal v2-build #1407
Copy link
Copy link
Closed
Labels
Description
Does HIE work with cabal v2-build?
For me it is throwing the following error:
Got error while processing diagnostics: readCreateProcess: /nix/store/jq8x50rkl3cm7cqkj1zsk6kfbb692iwv-cabal-helper-0.9.0.0/bin/cabal-helper-wrapper "--with-ghc=ghc" "--with-ghc-pkg=ghc-pkg" "--with-cabal=cabal" "v1-style" "/home/neo/Projects/haskell-editor-setup" "/home/neo/Projects/haskell-editor-setup/dist-newstyle/build/x86_64-linux/ghc-8.6.5/haskell-editor-setup-0.1.0.0" "package-db-stack" "flags" "compiler-version" "ghc-merged-pkg-options" "config-flags" "non-default-config-flags" "ghc-src-options" "ghc-pkg-options" "ghc-lang-options" "ghc-options" "source-dirs" "entrypoints" "needs-build-output" (exit 1): failed
Haskell (hie) /home/neo/Projects/haskell-editor-setup/
I am using HIE installed via https://github.com/Infinisil/all-hies on NixOS.
[neo@nixos:~/Projects/haskell-editor-setup]$ hie --version
Version 0.12.0.0 x86_64 ghc-8.6.5
Running HIE in terminal seems to work fine:
[neo@nixos:~/Projects/haskell-editor-setup]$ hie
2019-10-11 11:07:23.057891434 [ThreadId 4] - run entered for hie-wrapper(hie) Version 0.12.0.0 x86_64 ghc-8.6.5
2019-10-11 11:07:23.05847655 [ThreadId 4] - Current directory:/home/neo/Projects/haskell-editor-setup
2019-10-11 11:07:23.058803704 [ThreadId 4] - Operating system:linux
2019-10-11 11:07:23.24951839 [ThreadId 4] - Cradle directory:/home/neo/Projects/haskell-editor-setup
2019-10-11 11:07:23.250094489 [ThreadId 4] - Using plain GHC version
2019-10-11 11:07:23.29634425 [ThreadId 4] - Project GHC version:8.6.5
2019-10-11 11:07:23.296684374 [ThreadId 4] - hie exe candidates :["hie-8.6.5","hie-8.6","hie"]
2019-10-11 11:07:23.29735114 [ThreadId 4] - found hie exe at:/nix/store/s8697vc63xjak866yginj7273cwjj23r-haskell-ide-engine-combined/libexec/bin/hie-8.6.5
2019-10-11 11:07:23.297915493 [ThreadId 4] - args:[]
2019-10-11 11:07:23.298120594 [ThreadId 4] - launching ....
2019-10-11 11:07:23.719709752 [ThreadId 4] - Using plain GHC version
2019-10-11 11:07:23.760840242 [ThreadId 4] - Run entered for HIE(hie-8.6.5) Version 0.12.0.0 x86_64 ghc-8.6.5
2019-10-11 11:07:23.761491916 [ThreadId 4] - Current directory:/home/neo/Projects/haskell-editor-setupIf you wish to reproduce the issue, this is the project I am testing on: https://github.com/fairy-tale-agi-solutions/haskell-editor-setup