-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
With stack:
$ stack setup
...
$ stack build
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for xmonad-contrib-0.16:
xmonad-0.13 from stack configuration does not match >=0.15 && <0.16 (latest matching version
is 0.15)
needed since xmonad-contrib is a build target.
Some different approaches to resolving this:
* Set 'allow-newer: true'
in /home/rharwood/.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/rharwood/xmonad-testing.git/master/stack.yaml:
xmonad-0.15@sha256:db671d78ecd66f39f23decf60974a3e078525ec9d2be68a3946b0cfb4d3954fa
Plan construction failed.
$
Or cabal:
$ cabal new-build
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] next goal: xmonad (user goal)
[__0] rejecting: xmonad-0.15/installed-7vd..., xmonad-0.15, xmonad-0.14.2,
xmonad-0.14 (constraint from user target requires ==0.13)
[__0] trying: xmonad-0.13
[__1] next goal: xmonad-contrib (user goal)
[__1] rejecting: xmonad-contrib-0.16 (conflict: xmonad==0.13, xmonad-contrib
=> xmonad>=0.15 && <0.16)
[__1] rejecting: xmonad-contrib-0.15/installed-HnM..., xmonad-contrib-0.15,
xmonad-contrib-0.14, xmonad-contrib-0.13, xmonad-contrib-0.12,
xmonad-contrib-0.11.4, xmonad-contrib-0.11.3, xmonad-contrib-0.11.2,
xmonad-contrib-0.11.1, xmonad-contrib-0.11, xmonad-contrib-0.10,
xmonad-contrib-0.9.2, xmonad-contrib-0.9.1, xmonad-contrib-0.9,
xmonad-contrib-0.8.1, xmonad-contrib-0.8, xmonad-contrib-0.7,
xmonad-contrib-0.6, xmonad-contrib-0.5 (constraint from user target requires
==0.16)
[__1] fail (backjumping, conflict set: xmonad, xmonad-contrib)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: xmonad, xmonad-contrib
$
Metadata
Metadata
Assignees
Labels
No labels