I use Atom as IDE. It requires the above tools to work properly.
I am using lts-9.21 because it's the latest version that can build these tools without conflicts.
I am looking for a way to jump to lts-11.14 or nightly (so I could use the latest GHC and libs).
If I try to build them withresolver: lts-11.14, I get this:
$ stack install ghc-mod hlint stylish-haskell hasktags pointfree pointful
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for ghc-mod-5.8.0.0:
Cabal-2.0.1.1 from stack configuration does not match >=1.18 && <1.25 (latest matching version is 1.24.2.0)
base-4.10.1.0 from stack configuration does not match >=4.6.0.1 && <4.10 (latest matching version is 4.9.1.0)
cabal-helper must match <0.8 && >=0.7.3.0, but the stack configuration has no specified version (latest matching
version is 0.7.3.0)
extra-1.6.8 from stack configuration does not match <1.6 && >=1.4 (latest matching version is 1.5.3)
ghc-8.2.2 from stack configuration does not match >=7.6 && <8.2
haskell-src-exts-1.20.2 from stack configuration does not match <1.20 && >=1.18 (latest matching version is 1.19.1)
hlint-2.1.6 from stack configuration does not match <2.1 && >=2.0.8 (latest matching version is 2.0.15)
monad-journal-0.8.1 from stack configuration does not match <0.8 && >=0.4 (latest matching version is 0.7.2)
optparse-applicative-0.14.2.0 from stack configuration does not match >=0.13.0.0 && <0.14 (latest matching version
is 0.13.2.0)
needed since ghc-mod is a build target.
In the dependencies for pointfree-1.1.1.3:
base-4.10.1.0 from stack configuration does not match >=4.5 && <4.10 (latest matching version is 4.9.1.0)
haskell-src-exts-1.20.2 from stack configuration does not match >=1.18 && <1.20 (latest matching version is 1.19.1)
needed since pointfree is a build target.
In the dependencies for pointful-1.0.11.0:
haskell-src-exts-simple must match >=1.18 && <1.20 || ^>=1.20, but the stack configuration has no specified version
(latest matching version is 1.20.0.0)
needed since pointful 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/oshyshko/.stack/global-project/stack.yaml:
- Cabal-1.24.2.0
- base-4.9.1.0
- cabal-helper-0.7.3.0
- extra-1.5.3
- haskell-src-exts-1.19.1
- haskell-src-exts-simple-1.20.0.0
- hlint-2.0.15
- monad-journal-0.7.2
- optparse-applicative-0.13.2.0
Plan construction failed.
How do I build these tools with
lts-11.14
ornightly
?I use Atom as IDE. It requires the above tools to work properly. I am using
lts-9.21
because it's the latest version that can build these tools without conflicts. I am looking for a way to jump tolts-11.14
ornightly
(so I could use the latest GHC and libs).If I try to build them with
resolver: lts-11.14
, I get this: