Re: Cabal constraint solver

2010-10-05 Thread Simon Marlow
On 03/10/2010 00:12, Brandon S Allbery KF8NH wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/2/10 18:07 , Christian Höner zu Siederdissen wrote: cd syb-0.2.1 * remove base<4.3 constraint from syb.cabal cabal install * syb-0.2.1 is now installed and works! $ cabal install parsec-3.1.

Re: Cabal constraint solver

2010-10-02 Thread Daniel Fischer
On Sunday 03 October 2010 02:10:11, Felipe Lessa wrote: > On Sat, Oct 2, 2010 at 8:29 PM, Daniel Fischer wrote: > > Yes, cabal looks at the package-index to find out the required > > dependencies, it doesn't know where you have local source files. > > Actually, this is cabal-install. If you 'cab

Re: Cabal constraint solver

2010-10-02 Thread Christian Höner zu Siederdissen
Hi, thanks to you all for the answers. I will then go with increasing the version number for testing, this seems to be the easiest way to go. And indeed, 'cabal unpack' fetches ( ;-) ) the package without checking that constraints are met. Gruss, Christian * Christian Höner zu Siederdissen [03

Re: Cabal constraint solver

2010-10-02 Thread Felipe Lessa
On Sat, Oct 2, 2010 at 8:29 PM, Daniel Fischer wrote: > Yes, cabal looks at the package-index to find out the required > dependencies, it doesn't know where you have local source files. Actually, this is cabal-install. If you 'cabal unpack' then 'runhaskell Setup.hs configure' and 'runhaskell Se

Re: Cabal constraint solver

2010-10-02 Thread Daniel Fischer
On Sunday 03 October 2010 00:07:24, Christian Höner zu Siederdissen wrote: > Hi, > > does the Cabal constraint solver always try to solve the complete graph? > > example: (ghc-7.0.0-rc1) > > $ cabal install parsec-3.1.0 > cabal: cannot configure syb-0.2.1. It requires base >=4.0 && <4.3 > > cd syb-

Re: Cabal constraint solver

2010-10-02 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/2/10 18:07 , Christian Höner zu Siederdissen wrote: > cd syb-0.2.1 > * remove base<4.3 constraint from syb.cabal > cabal install > * syb-0.2.1 is now installed and works! > > $ cabal install parsec-3.1.0 > cabal: cannot configure syb-0.2.1. It r