commercialhaskell / commercialhaskell/stack
No direct way to run ghc configured for a particular target / set of targets
- Dominant language
- Haskell
- Stars
- 4.1k
- Forks
- 850
- Avg merge
- 10h 37m
- Merged PRs (30d)
- 4
Description
I have a problem when importing the automatically generated module `Paths_packagename`.
Building, executing and so on works perfectly; also `stack ghci` works out of the box. Only, when running, e.g., `stack ghc -- -Wall Main.hs` on individual files that import `Paths_packagename`, I get the error:
[1 of 1] Compiling Main ( app/Main.hs, app/Main.o )
app/Main.hs:27:1: error:
Failed to load interface for ‘Paths_packagename’
Use -v to see a list of the files searched for.
However, I need to execute `stack ghc` to perform syntax checking. Do you think that my setup is misconfigured or is this rather a problem of `ghc` or `stack`?
Thank you very much,
Dominik
Contributor guide
Assessment
This issue has not been assessed yet.