
Le 28 avril 2014 11:10, Arnaud Bailly
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.