Hi, I’m trying to include large-anon
in my stack project, just to putz around with it.
When I add large-anon
to my executable’s dependencies, like so:
executables:
hello-exe:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- hello
- bytestring
- aeson
- large-anon
I get the following error:
While constructing the build plan, Stack encountered the following errors:
In the dependencies for hello-0.1.0.0:
large-anon needed, but the Stack configuration has no specified version (latest matching version is 0.3.0)
needed since hello is a build target.
Now, I guess it found something related to large-anon out on the internet, because it found a version number of 0.3.0, which appears to be the current version as per large-anon: Scalable anonymous records.
I’m not clear on what the error wants me to do: do I need to specify a particular version? If so, where do I do that? If not, what does the error mean?
Thanks for your time!