nikita-volkov / newtype-deriving

Instance derivers for newtype wrappers
http://hackage.haskell.org/package/newtype-deriving
MIT License
5 stars 2 forks source link

Version bounds #2

Open Gurkenglas opened 6 years ago

Gurkenglas commented 6 years ago

Should the version bounds be bumped?

PS C:\Users\gurke\haskell-ide-engine> stack test --only-configure

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

In the dependencies for newtype-deriving-0.1.4:
    template-haskell-2.13.0.0 from stack configuration does not match >=2.7 && <2.11  (latest
                              matching version is 2.10.0.0)
    transformers-0.5.5.0 from stack configuration does not match >=0.3 && <0.5  (latest matching
                         version is 0.4.3.0)
needed due to hie-plugin-api-0.2.2.0 -> newtype-deriving-0.1.4

Some different approaches to resolving this:

  * Set 'allow-newer: true' in C:\sr\config.yaml to ignore all version constraints and build anyway.

  * 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 C:\Users\gurke\haskell-ide-engine\stack.yaml:

template-haskell-2.10.0.0@sha256:43c9c16890a1dc86f38fe654d90fed6fd97f88bd07f1c3957ba16ee309bfc694
transformers-0.4.3.0@sha256:60dafcffe8c4fe6f3760426fc35a325c8e6419877596518c76f46657280207a9
nikita-volkov commented 6 years ago

I'll accept a PR