Closed drshade closed 2 years ago
The problem with using Project:M36 with stack is caused by it not being included in stackage, therefor stack does not know what extra deps are needed. As long as its not included in the stackage, i think the best way is to just copy the deps from the stack.yaml file in the repo itself and use the latest commit.
Thanks! I'll add this to the documentation. I am also working on upgrading several of these packages to use the hackage/stackage versions of modules whenever possible.
This might be more of a general haskell package management type question, but what is the best approach to include project-m36 client into my application build?
I started with a "stack init" type project, and then added project-m36 as a dependency. Compiling that took me down a long journey of trying to figure out a long list of "extra-deps" to include to get everything compiling.
My eventual list of "extra-deps" in stack.yaml looks like this:
Which now seems to compile - but wasn't a particularly fun approach to get up and running.
What is the recommended way to use the project-m36 client?
All the best, Tom