Skip to content

No HIE files found with 2.9.0 #190

Open
@pbrisbin

Description

Just upgraded a project's GHC to 9.8.4, and re-installed weeder (which got 2.9.0), and now it's no longer finding HIE files:

% stack exec weeder -- --version
weeder version 2.9.0
hie version 9084
% stack exec weeder -- --require-hs-files
No HIE files found: check that the directory is correct and that the -fwrite-ide-info compilation flag is set.

They do exist,

% find -name '*.hie' | head
./.stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.4/build/Restyler/CLI.hie
./.stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.4/build/Restyler/Docs.hie
./.stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.4/build/Restyler/Restyle.hie
./.stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.4/build/Restyler/Restyler/Run.hie
./.stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.4/build/Restyler/GitHub/PullRequest.hie
./.stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.4/build/Restyler/Ignore.hie
./.stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.4/build/Restyler/Prelude.hie
./.stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.4/build/Restyler/RestylerResult.hie
./.stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.4/build/Restyler/RestyleResult.hie
./.stack-work/dist/x86_64-linux-tinfo6/ghc-9.8.4/build/Restyler/Monad/WriteFile.hie

And 2.8.0 still seems to work,

% stack install --copy-compiler-tool weeder-2.8.0
...
% stack exec weeder -- --require-hs-files
% <no output because no weeds>

Did something change about how 2.9.0 finds HIE?

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions