Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I list upgradeable Cabal packages in the style of `apt-show-versions`?

Tags:

haskell

cabal

I was wondering if there was a way (either existing command or shell script or alike) to list registered GHC packages for which hackage has an updated version available. Something in the style of apt-show-versions, e.g.:

attoparsec upgradeable from 0.9.0.0 to 0.9.1.1
base uptodate at 4.3.1.0
...
like image 903
hvr Avatar asked Aug 02 '11 09:08

hvr


1 Answers

You can use cab and then do

% cab sync
% cab outdated

http://www.mew.org/~kazu/proj/cab/en/

like image 156
Michael Kohl Avatar answered Nov 11 '22 15:11

Michael Kohl