2

当我尝试使用最新版本的堆栈构建此存储库时:

λ ~/repos/ghcjs-typeahead/src/Typeahead/ master* stack --version                      ~/repos/ghcjs-typeahead/src/Typeahead
Version 1.2.0 x86_64

我收到此错误:

λ ~/repos/ghcjs-typeahead/src/Typeahead/ master* stack build                          ~/repos/ghcjs-typeahead/src/Typeahead
Only GHC is supported by now by stack --nix

这是因为我的 stack.yaml 看起来像这样:

resolver: nightly-2016-08-26
compiler: ghcjs-0.2.0.820160826_ghc-8.0.1
compiler-check: match-exact
setup-info:
  ghcjs:
    source:
      ghcjs-0.2.0.820160826_ghc-8.0.1:
        url: "http://tolysz.org/ghcjs/ghc-8.0-2016-08-26-nightly-2016-08-26-820160826.tar.gz"
        sha1: "2ecd8523cafe22b3033726363b4acc5356117970"
nix:
  enable: true
  shell-file: shell.nix
packages:
- location: '.'
- location:
    git:  https://github.com/ryantrinkle/reflex.git
    commit: a63aba90bdea5ae5b3e1506d468613bdfedcdfa3
  extra-dep: true
- location:
    git: https://github.com/ryantrinkle/reflex-dom.git
    commit: ed3b790f81f8396324fc9a3495de9c911119facc
  extra-dep: true
extra-deps:
- ghcjs-dom-0.2.4.0
- ref-tf-0.4.0.1
- zenc-0.1.1

非常不幸的是,他们取消了对我使用的方法的支持。还有其他方法可以使用堆栈、nix 和 ghcjs 吗?我必须回到使用 cabal 吗?

4

0 回答 0