Skip to content
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

Is there a way to generate 'pruned' output #98

Open
expipiplus1 opened this issue May 25, 2018 · 2 comments
Open

Is there a way to generate 'pruned' output #98

expipiplus1 opened this issue May 25, 2018 · 2 comments

Comments

@expipiplus1
Copy link

The file generated by stack2nix is reasonably large as it contains every package in stackage. It would be nice if this tool could generate a smaller file which comprises just the dependency closure of the stack project.

@domenkozar
Copy link
Contributor

It's really tricky since stack and nix have different dependency resolutions (due to the way flags are enabled, etc). The only way would be to use hnix to generate a flat list of packages needed for top-level packages and prune the rest.

@domenkozar
Copy link
Contributor

#111 would be a step into this direction.

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

No branches or pull requests

2 participants