"megarepos" (such as servant) are a common pattern for haskell project management, previously only suppported conveniently by stack. with cabal-install-2.0+, project files like this:
packages:
./example
./example-types
are now becoming ubiquitous. dante currently ignores cabal.project files, which causes issues for most of the packages I develop. my workaround is adding .dir-locals.el in every project I contribute to, like:
"megarepos" (such as
servant
) are a common pattern for haskell project management, previously only suppported conveniently bystack
. withcabal-install-2.0+
, project files like this:are now becoming ubiquitous.
dante
currently ignorescabal.project
files, which causes issues for most of the packages I develop. my workaround is adding.dir-locals.el
in every project I contribute to, like:which decreases its relocatability.
I suggest adding a
dante-force-cabal-project
option that(dante-project-root)
respects.