Skip to content
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

Description

@freeman42x

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions