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

Use all-cabal-hashes directly rather than extracting individual components #43

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TeofilC
Copy link
Contributor

@TeofilC TeofilC commented Jan 30, 2024

This gives us a significant speed-up, since all we need to do as part of the IFD is run cabal2nix.

This is slightly simpler than the some-cabal-hashes approach, but still speeds things up considerably for me. We are still doing a bunch of IFD to generate the cabal2nix files, but it goes pretty quickly. I still feel like something like the some-cabal-hashes thing is the right thing to do, but it's a bit more work than I have capacity for right now.

The downside is that now we require all-cabal-hashes to be an unpacked directory. I could add something to enforce this, eg, a derivation that unpacks it if it's a tarball (is there a utility to do this)?

What do you think?

…nents

This gives us a significant speed-up, since all we need to do as part of
the IFD is run cabal2nix.
@cdepillabout
Copy link
Owner

Hey, sorry I haven't gotten to this yet. I think this looks interesting, but I haven't really be able to do an in-depth review.

I might not be able to really get to this for another month or so. Sorry to keep you waiting longer!

@TeofilC
Copy link
Contributor Author

TeofilC commented Feb 20, 2024

Don't worry about it at all! There's no rush

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

Successfully merging this pull request may close these issues.

2 participants