hsdev
hsdev copied to clipboard
Cannot install older version of hsdev (0.3.0.0)
SublimeHaskell needs version 0.3.0.0 of hsdev in order to work, however when using cabal to install the desired version I run into errors that prevent me from continuing.
If I try:
cabal install hsdev-0.3.0.0
I get the following:
Resolving dependencies... cabal: Could not resolve dependencies: [__0] next goal: hsdev (user goal) [__0] rejecting: hsdev-0.3.2.1, hsdev-0.3.2.0, hsdev-0.3.1.4, hsdev-0.3.1.3, hsdev-0.3.1.2, hsdev-0.3.1.1, hsdev-0.3.1.0, hsdev-0.3.0.3, hsdev-0.3.0.2, hsdev-0.3.0.1 (constraint from user target requires ==0.3.0.0) [__0] trying: hsdev-0.3.0.0 [__1] next goal: base (dependency of hsdev) [__1] rejecting: base-4.11.1.0/installed-4.1... (conflict: hsdev => base>=4.7 && <4.11) [__1] rejecting: base-4.12.0.0, base-4.11.1.0, base-4.11.0.0, base-4.10.1.0, base-4.10.0.0, base-4.9.1.0, base-4.9.0.0, base-4.8.2.0, base-4.8.1.0, base-4.8.0.0, base-4.7.0.2, base-4.7.0.1, base-4.7.0.0, base-4.6.0.1, base-4.6.0.0, base-4.5.1.0, base-4.5.0.0, base-4.4.1.0, base-4.4.0.0, base-4.3.1.0, base-4.3.0.0, base-4.2.0.2, base-4.2.0.1, base-4.2.0.0, base-4.1.0.0, base-4.0.0.0, base-3.0.3.2, base-3.0.3.1 (constraint from non-upgradeable package requires installed instance) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: hsdev, base
From what I can understand, it's not being able to get the proper base package version, so I tried the following:
cabal install base-4.10.1.0
and I get:
Resolving dependencies... cabal: Could not resolve dependencies: [__0] next goal: base (user goal) [__0] rejecting: base-4.12.0.0, base-4.11.1.0/installed-4.1..., base-4.11.1.0, base-4.11.0.0 (constraint from user target requires ==4.10.1.0) [__0] rejecting: base-4.10.1.0 (only already installed instances can be used) [__0] rejecting: base-4.10.0.0, base-4.9.1.0, base-4.9.0.0, base-4.8.2.0, base-4.8.1.0, base-4.8.0.0, base-4.7.0.2, base-4.7.0.1, base-4.7.0.0, base-4.6.0.1, base-4.6.0.0, base-4.5.1.0, base-4.5.0.0, base-4.4.1.0, base-4.4.0.0, base-4.3.1.0, base-4.3.0.0, base-4.2.0.2, base-4.2.0.1, base-4.2.0.0, base-4.1.0.0, base-4.0.0.0, base-3.0.3.2, base-3.0.3.1 (constraint from user target requires ==4.10.1.0) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: base
I've searched online and only a single page reported a similar problem, but the answer required to use linux apt-get and that's not a possibility for me as I'm using Windows x64.
Ask me if you need more info, such as haskell platform and cabal version, etc
Are you building with ghc-8.4.*?
Unfortunately, hsdev-0.3.0.0 can't be built with this version of ghc.
You can either:
- use
ghc-8.2.*and earlier versions, or - install
hsdev-0.3.2.1. If you're going to use it withSublimeHaskell, you should also use branched version ofSublimeHaskellforhsdev-0.3.2.*