-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
callCabal2nix default.nix is garbage collected #36190
Comments
👍 from me. |
I'm not sure whether I understand this correctly. You want to prevent the garbage collector from collecting a file that it could collect so that this file doesn't have to be re-built even though it can be re-built? |
@peti It would only be a build-time dependency, and thus only kept if |
Hmm, okay. That sounds fine. |
This ensures that as long as the package derivation is alive, its nix expressions do not need to be regenerated. Fixes NixOS#36190.
When using
callCabal2nix
, the resulting derivation has no gc link to the IFD'ddefault.nix
. I think this should be added as a build time dependency so thatcabal2nix
doesn't get collected, and so you don't have to repeatedly wait for the derivation to be built. It's minor, but enough to be annoying.The text was updated successfully, but these errors were encountered: