Skip to content

Instantly share code, notes, and snippets.

@TheZoq2
Created November 15, 2018 19:52
Show Gist options
  • Save TheZoq2/8f0718397ff5de7e8c722849f5a08ab4 to your computer and use it in GitHub Desktop.
Save TheZoq2/8f0718397ff5de7e8c722849f5a08ab4 to your computer and use it in GitHub Desktop.
~/Documents/fpga/apio_template ♦ ➔ stack build clash-ghc-0.99.3 (master|●1✚3…)wraith
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for clash-ghc-0.99.3:
clash-lib-0.7.1 from stack configuration does not match >=0.99.3 && <1.0 (latest matching version
is 0.99.3)
clash-prelude-0.11.2 from stack configuration does not match >=0.99.3 && <1.0 (latest matching
version is 0.99.3)
ghc-8.0.2 from stack configuration does not match >=8.2.0 && <8.8 (latest matching version
is 8.6.1)
ghc-typelits-extra-0.2.3 from stack configuration does not match >=0.2.5 && <0.3 (latest matching
version is 0.2.6)
ghc-typelits-knownnat-0.3.1 from stack configuration does not match >=0.5 && <0.6 (latest matching
version is 0.5.1)
ghc-typelits-natnormalise-0.5.4 from stack configuration does not match >=0.6 && <0.7 (latest
matching version is 0.6.2)
ghci-8.0.2 from stack configuration does not match >=8.2.0 && <8.8 (latest matching version
is 8.6.1)
integer-gmp-1.0.0.1 from stack configuration does not match >=1.0.1.0 && <2.0 (latest matching
version is 1.0.2.0)
needed since clash-ghc is a build target.
Some different approaches to resolving this:
* Set 'allow-newer: true'
in /home/frans/.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/frans/.stack/global-project/stack.yaml:
clash-lib-0.99.3@sha256:1287ad21deea61d639dca3ad1dc52b01f309ec8d3e01d32b6f00d3747982635a
clash-prelude-0.99.3@sha256:3dd6d8abfc1fa3b694bea3cf0ba6889b2bdb459ed0af535c0214d440ac8ebf00
ghc-8.6.1@sha256:1a092288ce47a25f993830b71760382e6c16fc0d4692787e185463b85022f840
ghc-typelits-extra-0.2.6@sha256:064208c427f987f17c8eac168ee9fb9d944fc54eea146bd412f3db4258b891b6
ghc-typelits-knownnat-0.5.1@sha256:9d0ca221b404d574c16a7edbb62209e449815a56a0d1a7a46f6b67fd74cf9f6a
ghc-typelits-natnormalise-0.6.2@sha256:b458ecd177c5a4fd2fd1220d8daafbe9e4eddde00f4c89bcc55b662ab89bf6ff
ghci-8.6.1@sha256:93e499afd02cc83b9dd138aa5aae9fea520b5967247489c36f628906ec33b441
integer-gmp-1.0.2.0@sha256:8a8aff7dd0318a4392b5ff9149c85adb0b3ec0fce8901103ba9f692a91673f5d
Plan construction failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment