Re: [Haskell-cafe] Fwd: How to do automatic reinstall of all dependencies?

2013-04-25 Thread Johannes Waldmann
Alexander Kjeldaas gmail.com> writes: cabal install --upgrade-dependencies  `eval echo $(ghc-global-constraints )` for a moment I was reading "ghc --global-constraints" there ... - J.W. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http:

Re: [Haskell-cafe] Fwd: How to do automatic reinstall of all dependencies?

2013-04-25 Thread Alexander Kjeldaas
This is not what you asked for, but reinstalling *all dependencies*probably isn't such a good idea, because ultimately some dependencies are shipped with GHC and you might not be able to reinstall them. Here is a useful formula I developed to avoid cabal-hell and always *upgrade * dependencies whe

Re: [Haskell-cafe] Fwd: How to do automatic reinstall of all dependencies?

2013-04-25 Thread Erik Hesselink
I think --reinstall only reinstalls the package you are actually installing, not the dependencies. You could try using a sandboxing tool, like cabal-dev. Then you just do 'cabal-dev install', and when you want to reinstall everything, you do 'rm cabal-dev/' to wipe the sandbox and start over. Rega

[Haskell-cafe] Fwd: How to do automatic reinstall of all dependencies?

2013-04-24 Thread capn.fre...@gmail.com
-db - Forwarded message - From: "Captain Freako" Date: Tue, Apr 23, 2013 9:21 pm Subject: How to do automatic reinstall of all dependencies? To: ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/h