-
Notifications
You must be signed in to change notification settings - Fork 20
Use cabal install --enable-tests --dependencies-only --dry-run
instead of cabal freeze
?
#52
Comments
Thank you. This is a model feature request. Much appreciated. |
Getting rid of |
cabal install --enable-tests --dry-run
instead of cabal freeze
?cabal install --enable-tests --dependencies-only --dry-run
instead of cabal freeze
?
Another benefit is, the GHC version would not be automatically over-constrained. Currently, since As a consequence, declaring |
Replacing |
What's needed to do this? Are we waiting for an update to cabal, or is it parsing a different format, or...? |
@thorinii: In a word, time — to design, and to implement. |
Perhaps it’d be worth to consider supporting separate sets of version constraints for different GHC versions. Perhaps even separate |
I’m sorry. This project is no longer maintained. |
Doing
cabal install --enable-tests --dependencies-only --dry-run
in a clean sandbox gives similar results to usingcabal freeze
. This would help resolve/avoid the following issues:cabal freeze
cabal install --enable-tests --dry-run
would matchcabal sandbox hc-pkg list
. I haven't confirmed though.cabal freeze
altogether and grabs the testing dependencies correctlycabal freeze
not respecting constraintscabal.config
file located in the app directoryI grabbed the output of both on one of our internal projects, and the output can be seen here. Output from
cabal freeze
was altered usingsed
to make differences easier to notice.Major differences:
cabal freeze
includes packages included with GHC. e.g. The ones listed in/app/ghc/lib/ghc-7.8.4/package.conf.d
cabal freeze
has a cleaner, more consistent output formatcabal install --enable-tests --dry-run
indicated when there a newer versionblaze-builder-0.3.3.4 (latest: 0.4.0.1)
The text was updated successfully, but these errors were encountered: