This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
Is HIE working with cabal script files? #1780
Open
Description
Example script file here: https://www.haskell.org/cabal/users-guide/nix-local-build.html#cabal-v2-run
And here: haskell/cabal#6122 (comment)
When I open Atom HIE is throwing the following error:
Fail on initialisation for "/home/neo/Projects/haskell-editor-setup/src/setup.hs".
Could not obtain flags for: "src/setup.hs".
This module was not part of any component we are aware of.
Component: ChExeName "haskell-editor-setup" with source directory: ["src"]
To expose a module, refer to:
https://www.haskell.org/cabal/users-guide/developing-packages.html
The error happens regardless whether I place the script file in project root or under src
.