Open
Description
ghc will report errors and warnings in files relative to the hs-source-dirs
that is declared in the .cabal
file. This typically results in minimal output relative to the location of the .cabal
file.
However, there are many workflows where this can result in problems, especially if the user invokes cabal build
from a different directory which is common in multi-project builds.
It would be good if there was a cabal.project{.local}
option made available that caused cabal to construct the absolute path of hs-source-dirs
prior to invoking ghc
.
Activity