You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
I'm using proto-lens library in my project. It implies usage of custom-setup in package.yaml. This causes exception in HIE which popups in my text editor with error message. Also in developer console of text editor I can see some warnings as well:
I tried different builds of HIE for different LTS, but result is always the same. From debug logs I figured out that it's something about Cabal package, but looks like it's actually installed and even version is matching:
itkachuk$ cabal --version
cabal-install version 2.4.1.0
compiled using version 2.4.1.0 of the Cabal library
Without custom-setup it works just fine. This issue can be easily reproduced with any example from proto-lens github repo. Thanks for the help.
The text was updated successfully, but these errors were encountered:
This one reminds me #1462 cause the error is the same step, both are using custom-setup with stack and package.yaml and they are trying to install Cabal-2.4.1.0.
In this case the cabal executable is in PATH but it cant find the package Cabal-2.4.1.0. Installing the libraryCabal-2.4.1.0 is needed cause, although you have cabal-2.4.1.0 (the executable), ghc-8.6.4 has installed globally Cabal-2.4.0.1 (the library), and it dont know anything about the cabal excutable.
As the failing step is
The package list for `hackage.haskell.org` does not exist. You may to run `cabal update` to download it
i would follow the recommendation, running cabal update in a shell to make cabal create the necessary metadata under ~/.cabal. If cabal update fails, please attach the output of cabal update -v3.
I'm using proto-lens library in my project. It implies usage of
custom-setup
inpackage.yaml
. This causes exception in HIE which popups in my text editor with error message. Also in developer console of text editor I can see some warnings as well:I tried different builds of HIE for different LTS, but result is always the same. From debug logs I figured out that it's something about Cabal package, but looks like it's actually installed and even version is matching:
Without
custom-setup
it works just fine. This issue can be easily reproduced with any example fromproto-lens
github repo. Thanks for the help.The text was updated successfully, but these errors were encountered: