cdepillabout / cdepillabout/stacklock2nix

Reducing reliance on IFD

Open
#41 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Nix
Stars
57
Forks
11
PR merge metrics
No merged PRs in 30d

Description

I'm trying to use this with a project that has approx 500 transitive dependencies. This means that initial builds are quite slow, since IFD causes things to happen in sequence. In particular `all-cabal-hashes-component-` derivations seem to take quite a while. Each is quite cheap, but since they don't run in parallel, and nix wants to check if they exist on caches, they are quite slow. I'm also a bit worried that this makes caching dependencies tricky.

I'm wondering if it would be possible to reduce our reliance on IFD. I think even if we could have a couple of bigger IFD derivations rather than lots of small ones, that would be good. Do you have any thoughts/plans about this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.