5

新しい Ubuntu 16.04 インスタンスでHakyllをセットアップしようとしていますが、スタックベースのセットアップ手順を正しく理解できないようです。

から始めるとstack install hakyll、次のようになります。

Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for hakyll-4.9.3.0:
    http-conduit-2.1.11 must match >=2.2 && <2.3 (latest applicable is 2.2.3)

Plan construction failed.

stack-install http-conduit-2.1.11今回は次のように に接続すると、同様のエラーが発生しました。

Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for http-conduit-2.2.3:
    http-client-0.4.31.2 must match >=0.5 && <0.6 (latest applicable is 0.5.5)
    http-client-tls-0.2.4.1 must match >=0.3 && <0.4 (latest applicable is 0.3.3.1)

Plan construction failed.

これの依存関係を解決した後 (これも Stack を使用)、もう一度 を試みましたがstack install http-conduit-2.1.11、もう一度同じ依存関係エラーが発生しました。

パッケージhttp-client-0.4.31.2とは my にhttp-client-tls-0.2.4.1表示されますが、 my~/.stack/precompiled/x86_64-linux/ghc-8.0.1/1.24.0.0/には明示的にありませんが、これは$PATH非常にハックなソリューションのように感じられ、このアプローチを推奨するドキュメントは見つかりませんでした。

自分のマシンに Hakyll を正しくインストールするにはどうすればよいですか?

4

2 に答える 2