nboldi / haskell-tools-atom

An Atom editor binding for the Haskell-tools framework
7 stars 2 forks source link

Fails to install against the latest stackage nightly #46

Open hyperthunk opened 5 years ago

hyperthunk commented 5 years ago

Perhaps relax your upper bounds a bit...

t4@iske:~ $ stack install haskell-tools-daemon --resolver nightly
Selected resolver: nightly-2018-11-11
Downloaded nightly-2018-11-11 build plan.

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

In the dependencies for haskell-tools-daemon-1.1.0.2:
    Cabal-2.4.0.1 from stack configuration does not match >=2.0 && <2.3  (latest matching version is 2.2.0.1)
    containers-0.6.0.1 from stack configuration does not match >=0.5 && <0.6  (latest matching version is 0.5.11.0)
    fswatch must match >=0.1 && <0.2, but the stack configuration has no specified version  (latest matching version is 0.1.0.5)
    ghc-8.6.1 from stack configuration does not match >=8.4 && <8.5  (latest matching version is 8.4.3)
    haskell-tools-builtin-refactorings must match ==1.1.*, but the stack configuration has no specified version  (latest matching version is 1.1.0.2)
    haskell-tools-prettyprint must match >=1.1 && <1.2, but the stack configuration has no specified version  (latest matching version is 1.1.0.2)
    haskell-tools-refactor must match >=1.1 && <1.2, but the stack configuration has no specified version  (latest matching version is 1.1.0.2)
    network-2.8.0.0 from stack configuration does not match >=2.6 && <2.8  (latest matching version is 2.7.0.2)
    template-haskell-2.14.0.0 from stack configuration does not match >=2.13 && <2.14  (latest matching version is 2.13.0.0)
needed since haskell-tools-daemon 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 /Users/t4/.stack/global-project/stack.yaml:

Cabal-2.2.0.1@sha256:2a80d8fb655474f0eaeb20434c47f64f84e6302e55973056f00df8ca050b9683
containers-0.5.11.0@sha256:28ad7337057442f75bc689315ab4ec7bdf5e6b2c39668f306672cecd82c02798
fswatch-0.1.0.5@sha256:719ed01e6fcc3498f6d14d59a762217002a6494e099343542aad809606cab2f7
ghc-8.4.3@sha256:07ee8fb5dab414c35f93d5d5afc1ecaa65a49c409346e5063436cc8b838cd754
haskell-tools-builtin-refactorings-1.1.0.2@sha256:4a7b70a0ad44a6ffcc94be9f84763077912b11c1197911d13249976e87222544
haskell-tools-prettyprint-1.1.0.2@sha256:aaa92745a03a7049478c5f32086c7526a23c0fa439a1c5b174f5a330ab667507
haskell-tools-refactor-1.1.0.2@sha256:7d6310e3e4c97a55d6df08712ec55b74d9639d0b8e4983d72345111179e0f009
network-2.7.0.2@sha256:7cb8d7bc2080be946cf87890c807b12dae9c59314fa030b2687999100ce60512
template-haskell-2.13.0.0@sha256:555df4a4f47d358ce35f4c0f4371aa4347081fd00288e751838141d6fc7de627

Plan construction failed.