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.

force a project type #963

Closed
Closed
@teto

Description

@teto

Using hie on nix, because there is .cabal file and/or dist/ subfolder, hie/ghc-mod will use the cabal mode which fails with import errors (for packages installed via nix, I suppose ghc-mod would expect these packages to have been installed via cabal instead). If I remove the .cabal file, hie/ghc-mod falls back "to plain GHC project" which works.
My problem is that I use haskdogs to generate haskell tags and this needs the cabal file to work. Thus I would like to force hie to use a "plain GHC project" but I don't know how.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions