[Haskell-fr] Cabal et GHC 7.8.2

Arnaud Bailly arnaud.oqube at gmail.com
Mon Apr 28 09:27:04 UTC 2014


J’ai l’impression que c’est pas gagné : http://stackoverflow.com/questions/6312592/haskell-cabal-how-to-ignore-dependencies

Base étant un package core, installé avec ghc, j’imagine que c’est assez logique.


On 28 Apr 2014, at 11:24, Gautier DI FOLCO <gautier.difolco at gmail.com> wrote:

> Le 28 avril 2014 11:10, Arnaud Bailly <arnaud.oqube at gmail.com> a écrit :
> Non, je veux dire créer une sandbox et invoquer cabal install XXX dedans.
> 
> Non, mais ça n'est pas mieux :
> $ mkdir sandox_test
> $ cd sandox_test
> $ pwd
> /root/sandox_test
> $ cabal sandbox init
> Writing a default package environment file to
> /root/sandox_test/cabal.sandbox.config
> Creating a new sandbox at /root/sandox_test/.cabal-sandbox
> $ cabal install dapi
> Resolving dependencies...
> cabal: Could not resolve dependencies:
> trying: dapi-0.2.0.0 (user goal)
> next goal: base (dependency of dapi-0.2.0.0)
> rejecting: base-4.7.0.0/installed-018... (conflict: dapi => base==4.6.*)
> rejecting: base-4.7.0.0, 4.6.0.1, 4.6.0.0, 4.5.1.0, 4.5.0.0, 4.4.1.0, 4.4.0.0,
> 4.3.1.0, 4.3.0.0, 4.2.0.2, 4.2.0.1, 4.2.0.0, 4.1.0.0, 4.0.0.0, 3.0.3.2,
> 3.0.3.1 (global constraint requires installed instance)
> Dependency tree exhaustively searched.
> 
> Note: when using a sandbox, all packages are required to have consistent
> dependencies. Try reinstalling/unregistering the offending packages or
> recreating the sandbox.
> 
> Alors que ça marche sur mon système hôte.
> _______________________________________________
> Haskell-fr mailing list
> Haskell-fr at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-fr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-fr/attachments/20140428/b283283d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.haskell.org/pipermail/haskell-fr/attachments/20140428/b283283d/attachment-0001.sig>


More information about the Haskell-fr mailing list