eta icon indicating copy to clipboard operation
eta copied to clipboard

Support stackage build plans

Open rahulmutt opened this issue 8 years ago • 3 comments

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

rahulmutt avatar Sep 04 '17 17:09 rahulmutt

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 avatar Oct 26 '18 12:10 ror6ax

@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 avatar Oct 26 '18 12:10 rahulmutt

@rahulmutt If it's okay, and no work has been done yet. I would like to take this issue. Is this possible?

juanpaucar avatar Oct 30 '19 16:10 juanpaucar