저는 하스켈을 배우고 Emacs 개발 환경 (this)을 설정하려고합니다.
내가해야 할 일 중 하나는 hindent
을 설치하는 것입니다.
권장 방법 here은 단지 stack install hindent
입니다. 스택의 global-project
공간에 설치해야합니다. $HOME/.stack/global-project/stack.yaml
에서 내 글로벌 스택 YAML은 다음과 같습니다haskell 스택의 기본 사용으로 실패
flags: {}
extra-package-dbs: []
packages: []
extra-deps: []
resolver: ghc-7.10.3
내가 어떤 시스템을 사용하지 않는이 ghc
(내 $PATH
에는 ghc
또는 ghci
없음).
는 stack install hindent
에 그것은 확장 나를 adviced extra-deps
:
Run from outside a project, using implicit global project config
Using resolver: ghc-7.10.3 from implicit global project's config file: /home/me/.stack/global-project/stack.yaml
While constructing the build plan, the following exceptions were encountered:
In the dependencies for hindent-5.2.1:
descriptive must match >=0.7 && <0.10, but the stack configuration has no specified version
(latest applicable is 0.9.4)
exceptions must match -any, but the stack configuration has no specified version (latest applicable is 0.8.3)
haskell-src-exts must match >=1.18, but the stack configuration has no specified version
(latest applicable is 1.18.2)
monad-loops must match -any, but the stack configuration has no specified version (latest applicable is 0.4.3)
mtl must match -any, but the stack configuration has no specified version (latest applicable is 2.2.1)
path must match -any, but the stack configuration has no specified version (latest applicable is 0.5.9)
path-io must match -any, but the stack configuration has no specified version (latest applicable is 1.2.0)
text must match -any, but the stack configuration has no specified version (latest applicable is 1.2.2.1)
unix-compat must match -any, but the stack configuration has no specified version (latest applicable is 0.4.2.0)
utf8-string must match -any, but the stack configuration has no specified version (latest applicable is 1.0.1.1)
yaml must match -any, but the stack configuration has no specified version (latest applicable is 0.8.20)
Recommended action: try adding the following to your extra-deps in /home/me/.stack/global-project/stack.yaml:
- descriptive-0.9.4
- exceptions-0.8.3
- haskell-src-exts-1.18.2
- monad-loops-0.4.3
- mtl-2.2.1
- path-0.5.9
- path-io-1.2.0
- text-1.2.2.1
- unix-compat-0.4.2.0
- utf8-string-1.0.1.1
- yaml-0.8.20
나는 그것이 situatuation 결과 끝에서 등 (이다 아마 이전에 추가 된 사람들의 종속성하는) 새로운 종속성을 제안 무엇을 제안 할 때 몇몇 두 종속물은 unmet 버전을 가지고있다.
암시 적 종속성을 얻는 것이 빌드 도구의 일이라고 생각하므로 구성 (또는 스택 이해)에 문제가 있다고 생각합니다.
경험이 많은 사람이 초보자 잘못이 무엇인지 추측 할 수 있습니까?
글로벌 프로젝트의 리졸버가'ghc-7.10.3' 인 특별한 이유가 있습니까? (문제의 원인이 될 수 있습니다.) – duplode