Skip to content

Tool to extract external sources in stack project #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
purefn opened this issue Nov 28, 2019 · 1 comment
Closed

Tool to extract external sources in stack project #70

purefn opened this issue Nov 28, 2019 · 1 comment

Comments

@purefn
Copy link

purefn commented Nov 28, 2019

One problem with using stackProject in haskell.nix is external sources, i.e. dependencies not in stackage or hackage, with source on GitHub. You can provide a cache set to stackProject, but that's very manual and duplicates the information in the stack files.

To avoid this, we could build an exe that uses the existing code from stack-to-nix to produce nix expressions containing the data needed for calling fetchgit and build the cache set to pass to stackProject - or stackProject could transparently build the cache itself.

@cdepillabout
Copy link

I think this was added in #72 and can probably be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants