Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... cabal: Could not resolve dependencies: [__0] trying: prim-0.1.0.9 (user goal) [__1] next goal: ghc-prim (dependency of prim) [__1] rejecting: ghc-prim-0.5.3/installed-0.5... (conflict: prim => ghc-prim^>=0.6.1) [__1] rejecting: ghc-prim-0.5.3, ghc-prim-0.5.2.0, ghc-prim-0.5.1.1, ghc-prim-0.5.1.0, ghc-prim-0.5.0.0, ghc-prim-0.4.0.0, ghc-prim-0.3.1.0 (constraint from non-upgradeable package requires installed instance) [__1] fail (backjumping, conflict set: ghc-prim, prim) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: prim, ghc-prim