-
Mikhail Glushenkov authored
Print the latest available version of a package when the solver has picked a different version for some reason. Inspired by Brent Yorgey's highlight-versions tool [1]. Example of output: $ cabal install --dry-run repa Resolving dependencies... In order, the following would be installed (use -v for more details): primitive-0.4.1 random-1.0.1.1 QuickCheck-2.4.2 (latest: 2.5) vector-0.9.1 repa-3.2.1.1 $ cabal install --dry-run repa -v Reading available packages... Choosing modular solver. Resolving dependencies... In order, the following would be installed: primitive-0.4.1 (new package) random-1.0.1.1 (new package) QuickCheck-2.4.2 (latest: 2.5) (new package) vector-0.9.1 (new package) repa-3.2.1.1 (new package) [1] http://byorgey.wordpress.com/2012/08/25/identifying-outdated-packages-in-cabal-install-plans/
0455ff5a