You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stack hoogle has a dependencies failure, but stack build hoogle doesn't.
$ stack hoogle --server --resolver=lts-12.24
Hoogle isn't installed. Automatically installing (use --no-setup to disable) ...
Minimum version is hoogle-5.0. Found acceptable hoogle-5.0.17.4 in your index, installing it.
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for hoogle-5.0.17.4:
haskell-src-exts-1.20.3 from stack configuration does not match >=1.21 && <1.22 (latest matching version is 1.21.0)
needed since hoogle is a build target.
Some different approaches to resolving this:
* Set 'allow-newer: true' in /home/david/.stack/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 /home/david/.stack/global-project/stack.yaml:
haskell-src-exts-1.21.0@sha256:02421cacaa48c055551b8e5796efc543301b7ea9527a38e1385403d2b85512fb
Plan construction failed.
The text was updated successfully, but these errors were encountered:
This is arguably a stack bug, for selecting a version of hoogle that it cannot build.
The latest version of hoogle requires the latest version of haskell-src-exts, which is not currently in the stackage nightly or lts builds (see #4214), because haskell-src-meta has not upgraded to this version. (See also: bmillwood/haskell-src-meta#85)
stack hoogle
has a dependencies failure, butstack build hoogle
doesn't.The text was updated successfully, but these errors were encountered: