2017-09-17 9 views
2
cabal: Could not resolve dependencies: 
trying: ghc-mod-5.8.0.0 (user goal) 
next goal: base (dependency of ghc-mod-5.8.0.0) 
rejecting: base-4.10.0.0/installed-4.1... (conflict: ghc-mod => base<4.10 && >=4.6.0.1) 
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 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: base, ghc-mod, syb 

どうしたらよいですか?そして、私は何をすべきですか? GHC-modのthis ticketによればwin10 ghc-modをインストールできない(ghc 8.2.1)

+1

haskellスタック経由でインストールします。 – Sibi

+1

'ghc-mod --allow-newer'をインストールすることもできますが、gitリポジトリ' stack init'をクローンし、スタックyamlを編集して新しいものを許可します。 – epsilonhalbe

答えて

2

GHC 8.2.1は、まだそれゆえベース< 4.10制約がサポートされていません。そして、(半ば2917年9月現在)

8.2.1の機能サポートはv5.9.0.0 milestoneにこれを添加します。

関連する問題