Я хочу установить библиотечное ядро Haskell из https://hackage.haskell.org/package/hip, используя стек.Это не работает, потому что стек, кажется, не в состоянии установить зависимости.
У меня недавно установлен стек curl -sSL https://get.haskellstack.org/ | sh
, и stack --version
дает мне
Version 1.9.3, Git revision 40cf7b37526b86d1676da82167ea8758a854953b (6211 commits) x86_64 hpack-0.31.1
Я пробовал несколько вещей, например, другой распознаватель, переустанавливая разные версииstack, ghc или cabal.
Я пробовал stack new test
, а внутри папки test
я написал stack install hip
.
Я получил следующую ошибку:
Error: While constructing the build plan, the following exceptions were
encountered:
In the dependencies for hip-1.5.3.0:
Chart must match >=1.5, but the stack configuration has no specified
version (latest matching version is 1.9)
Chart-diagrams must match >=1.5, but the stack configuration has no
specified version (latest matching version is 1.9)
needed since hip is a build target.
Some different approaches to resolving this:
* Consider trying 'stack solver', which uses the cabal-install solver to
attempt to find some working build configuration. This can be convenient
when dealing with many complicated constraint errors, but results may be
unpredictable.
* Recommended action: try adding the following to your extra-deps
in /home/jarek/Desktop/test/stack.yaml:
Chart-1.9@sha256:f41568b6b3704f66c2ec163295b430ab7d798f91de426c2d5aba747d1135cd9b
Chart-diagrams-1.9@sha256:cdd0c22d730e507f9644e690833096ee127302b5ff5e1571f6def419160a2642
Plan construction failed.
Я ожидаю что-то вроде:
Building dependencies...
Installing Chart-1.9
...
...
...
hip successfully installed.
Пожалуйста, скажите мне, если я не предоставил всю информацию, необходимую вам, чтобы помочьменя с моей проблемой.