You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 25, 2020. It is now read-only.
ghc-mod check FILE in the root of a multi-package stack project doesn't detect the stack package db.
$ ghc-mod check hledger-lib/Hledger/Read/JournalReader.hs
hledger-lib/Hledger/Read/JournalReader.hs:101:8:Could not find module ‘Hledger.Data’�Use -v to see a list of the files searched for.
hledger-lib/Hledger/Read/JournalReader.hs:102:8:Could not find module ‘Hledger.Utils’�Use -v to see a list of the files searched for.
$ ghc-mod debug
Root directory: /Users/simon/src/hledger
Current directory: /Users/simon/src/hledger
GHC Package flags:
-i/Users/simon/src/hledger -i/Users/simon/src/hledger
-global-package-db -user-package-db -Wall
GHC System libraries: /usr/local/Cellar/ghc/7.10.3b/lib/ghc-7.10.3
GHC user options:
$ ghc-mod --version
ghc-mod version 5.5.0.0 compiled by GHC 7.10.3
It works if I cd into any of the package directories.
ghc-mod check FILEin the root of a multi-package stack project doesn't detect the stack package db.It works if I cd into any of the package directories.