Support stackage build plans
We can support stockage build plans by extending the sandbox mechanism etlas sandbox ... to support specifying a build plan and then automatically adding the info from the build plan into the project's configuration.
Something like:
etlas sandbox init --stackage-resolver=...
Essentially, this will involve downloading (and caching) the cabal.config associated with each Stackage snapshot and placing that file in the current project.
An example link: https://www.stackage.org/lts-9.3/cabal.config
Hi @rahulmutt I would like to try contributing to this project, and have some IRL Haskell experience. If this is still relevant I'll pick it up.
@ror6ax This issue is still relevant yes, but the UI is slightly different since we don't have (recommend) sandboxes anymore b/c we have the new-build system which has a Nix-like store.
We have a cabal.project file which specifies the entire build so the appropriate place to add the stackage-resolver field would be inside of cabal.project.
Feel free to ask any questions - happy to help you get started!
@rahulmutt If it's okay, and no work has been done yet. I would like to take this issue. Is this possible?