SPY / haskell-wasm

Haskell WebAssembly Toolkit
Other
151 stars 24 forks source link

Trying to build env #5

Closed Keroosha closed 4 years ago

Keroosha commented 4 years ago

Hi, I'm trying to build project by README.md instructions but it fails

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

In the dependencies for wasm-1.0.1:
    primitive-0.6.3.0 from stack configuration does not match >=0.7  (latest matching version is 0.7.0.1)
needed since wasm is a build target.

Some different approaches to resolving this:

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

  * Recommended action: try adding the following to your extra-deps in /home/keroosha/kitchen/haskell/test/haskell-wasm/stack.yaml:

- primitive-0.7.0.1@sha256:a381571c36edc7dca28b77fe8159b43c14c640087ec5946adacf949feec64231,3433

Plan construction failed.

stack version

[keroosha@keroosha-pc haskell-wasm]$ stack --version
Version 2.1.3, Git revision 0fa51b9925decd937e4a993ad90cb686f88fa282 (7739 commits) x86_64 hpack-0.31.2
TD5 commented 4 years ago

I've created https://github.com/SPY/haskell-wasm/pull/7 which makes the project build for me

SPY commented 4 years ago

Many thanks to @TD5 for the fix.