Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No HIE files found with 2.9.0 #190

Open
pbrisbin opened this issue Jan 24, 2025 · 0 comments
Open

No HIE files found with 2.9.0 #190

pbrisbin opened this issue Jan 24, 2025 · 0 comments

Comments

@pbrisbin
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant