-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
IFD breaks parallel building #6299
Comments
I think this is a more general issue. |
Conceptually it is trivial :) In practice unfortunately I don't think it is. Unbreaking that would require the evaluator to be parallelizable, which it isn't atm. And I don't know that part enough to know exactly how much work that would be, but that doesn't look trivial at all :/ |
Is your feature request related to a problem? Please describe.
Currently IFD seems to break parallel building.
I have put together a flake demonstrating the issue.
Describe the solution you'd like
When evaluation depends on several derivation outputs, build these derivations in parallel.
Describe alternatives you've considered
Wait for RFC92 and refactor existing IFD based code to make use of it.
I think this improvement would be of great value for the community, as some frameworks like haskell.nix are heavily based on IFD and would probably benefit by this change a lot.
The text was updated successfully, but these errors were encountered: