Closed Heimdell closed 1 year ago
Strange, what does find -name '*.hie'
output? It should list some hie
files, like this:
$ find -name '*.hie'
./dist-newstyle/build/x86_64-linux/ghc-9.0.2/foo-0/build/Lib.hie
./dist-newstyle/build/x86_64-linux/ghc-9.0.2/foo-0/t/dep-test/build/dep-test/dep-test-tmp/Main.hie
It does indeed list all my modules like this:
./.stack-work/dist/x86_64-linux/Cabal-3.6.3.0/build/NameCategory.hie
Running
$ cabal build --ghc-options=-fwrite-ide-info --overwrite-policy=always
fixed the issue.
Hey, @Heimdell @jonascarpay I'm also facing the same issue, I'm using stack to generate hie files(see below command).
stack build --ghc-options=-fwrite-ide-info
hie files are present in a module like this -
/.stack-work/dist/x86_64-osx/Cabal-3.2.1.0/build/project/App.hie
But if I do calligraphy -p out.png
it says -
No files matched your search criteria..
Can you please help me how to resolve this issue?
Calligraphy
refuses to see my sources.How do I fix it?