Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


cabal-dev install fails to resolve dependencies for new yesod project #59

HairyDude opened this Issue · 1 comment

2 participants


I am running Windows XP SP3 with Haskell Platform 2012, in a mingw shell. Here are the original repro steps:

  1. cabal install yesod-platform
  2. Make sure yesod is in your path
  3. yesod init -- call the project "cabaldev-bugtest"
  4. cd cabaldev-bugtest
  5. cabal --dry-run install
  6. cabal-dev --dry-run install

cabal successfully resolves the project's dependencies (right now on my system all it wants to install is persistent-sqlite). cabal-dev does not:

[Peter Berry@rhuidean cabaldev-bugtest]$ cabal-dev --dry-run install
Resolving dependencies...
cabal.exe: Could not resolve dependencies:
trying: cabaldev-bugtest-0.0.0 (user goal)
trying: http-conduit- (dependency of cabaldev-bugtest-0.0.0)
trying: socks-0.4.1 (dependency of http-conduit-
trying: cereal- (dependency of socks-0.4.1)
trying: attoparsec- (dependency of http-conduit-
next goal: yesod-platform (dependency of cabaldev-bugtest-0.0.0)
rejecting: yesod-platform- (conflict: cereal==, yesod-platform => cereal==
rejecting: yesod-platform-, 1.0.4,,,, 1.0.2,
1.0.1, 1.0.0 (conflict: attoparsec==, yesod-platform => attoparsec==
rejecting: yesod-platform-0.10.3, 0.10.2 (conflict: cabaldev-bugtest => yesod-platform>=1.0 && <1.1)

You can still repro if you delete everything in the cabaldev-bugtest directory except the .cabal file and cabal-dev directory, and use cabal --config-file=cabal-dev/cabal.config. The .cabal file itself can also be simplified a bit. See for a test case.

-v3 logs are here:


+1 I have the same problem on OS X.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.