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.

Could not obtain flags for: "Setup.hs" #1650

Open
@jneira

Description

@jneira

We are currently not supporting diagnostics for Setup.hs. E.g. we can not load this into the IDE.

The workaround could be creating a implicit configuration with a hie.yaml file to make hie ignore Main.hs

More drastic one: if Setup.hs is the default one, like this:

import Distribution.Simple
main = defaultMain

and you build-type is simple (the default one) in your <pkgname>.cabal file, afaik you can delete it.

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