-
-
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
Revert "fixup: remove boehmgc patch" #7679
Conversation
It is still necessary. Please do your research, or f ask the author, which happens to be me. An evaluator like this is not an environment where "it compiles, so it works" will ever hold. This reverts commit 1c40182.
Draft for now because the patch doesn't actually apply completely; the reverted commit doesn't cover the whole change. |
I don't know how easy it would be, but is there a way to test this that we could integrate into the test suite (or even as a hydra job)? As in, a way to validate that the patch is still required (not that it ever might not be required, but mostly to just avoid this situation where removing it seems to be fine, but causes issues later on), or that the patch is not properly applied...? |
We could run some large evaluations, but Nixpkgs is unlikely to be GC-ed while a source filtering coroutine is active. |
Upstream integration would be even better! |
Successfully created backport PR for |
Perhaps we could make some sort of unit test that manually triggers a GC. Hard/impossible to do externally I agree, but perhaps possible internally. This would be a nice thing to have even if we don't need the patch because vanilla Boehm GC handles such things. |
Actually I did add a |
Let's have a |
Regression test for NixOS#7679
Regression test for NixOS#7679
Regression test for NixOS#7679
Motivation
The patch is still necessary.
Should fix #7644
Context
The patch is still necessary.
@lheckemann @bb010g @edolstra, please do your research, or just ask the author (which happens to be me, but that doesn't matter).
An evaluator like this is not an environment where "it compiles, so it works" will ever hold.
This reverts commit 1c40182.
Checklist for maintainers
Maintainers: tick if completed or explain if not relevant
tests/**.sh
src/*/tests