Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Unable to build on darwin 10.14.5: haskell-src-exts-1.22.0 from stack configuration does not match >=1.18.0 && <1.22 #1689

@o1lo01ol1o

Description

@o1lo01ol1o

on commit 02815bb:

$ stack ./install.hs hie-8.6.5
# stack (for check)
# git (for submodules)
# git (for submodules)
Options:
    Verbosity level: Info
# stack (for hie-8.6.5)

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

In the dependencies for hsimport-0.11.0:
    haskell-src-exts-1.22.0 from stack configuration does not match >=1.18.0 && <1.22  (latest matching version is 1.21.1)
needed due to haskell-ide-engine-1.2 -> hsimport-0.11.0

Some different approaches to resolving this:

  * Set 'allow-newer: true' in /Users/timpierson/.stack/config.yaml to ignore all version constraints and build anyway.

  * Recommended action: try adding the following to your extra-deps in /Users/timpierson/arity/haskell-ide-engine/stack-8.6.5.yaml:

- haskell-src-exts-1.21.1@sha256:11d18ec3f463185f81b7819376b532e3087f8192cffc629aac5c9eec88897b35,4541

Plan construction failed.

********************************************************************************
Building failed, Try running `stack clean` and restart the build
If this does not work, open an issue at
	https://github.com/haskell/haskell-ide-engine
********************************************************************************

Error when running Shake build system:
  at want, called at src/Development/Shake/Internal/Args.hs:83:69 in shake-0.18.5-AT2wsKie7GmK5OPJZ5kRVD:Development.Shake.Internal.Args
* Depends on: hie-8.6.5
  at command, called at src/Stack.hs:80:3 in hie-install-0.8.1.0-7UOJzsmkF9x8NsRSgy2ktK:Stack
* Raised the exception:
Development.Shake.command, system command failed
Command line: stack --stack-yaml=stack-8.6.5.yaml install --verbosity=info
Exit code: 1
Stderr:
Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for hsimport-0.11.0:
    haskell-src-exts-1.22.0 from stack configuration does not match >=1.18.0 && <1.22  (latest matching version is 1.21.1)
needed due to haskell-ide-engine-1.2 -> hsimport-0.11.0

Some different approaches to resolving this:

  * Set 'allow-newer: true' in /Users/timpierson/.stack/config.yaml to ignore all version constraints and build anyway.

  * Recommended action: try adding the following to your extra-deps in /Users/timpierson/arity/haskell-ide-engine/stack-8.6.5.yaml:

- haskell-src-exts-1.21.1@sha256:11d18ec3f463185f81b7819376b532e3087f8192cffc629aac5c9eec88897b35,4541

Plan construction failed.
$ stack --version
Version 2.1.3, Git revision 0fa51b9925decd937e4a993ad90cb686f88fa282 (7739 commits) x86_64 hpack-0.31.2
$ git status
HEAD detached at 02815bb0

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildContinuous integration and buildingtype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions