cabal build && cabal install
in a sandbox compiles the package twice
#2106
Milestone
cabal build && cabal install
in a sandbox compiles the package twice
#2106
When in a sandbox, running
cabal install
without arguments will use thedist/dist-$HASH
directory for storing intermediate files. However, if you previously rancabal build
, it useddist
. This leads to unnecessary recompilation;dist/dist-$HASH
should be used only for add-source dependencies.The text was updated successfully, but these errors were encountered: