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
Preserve file context across readFile, second take #1643
Conversation
LGTM. I'll set up a hydra jobset |
Could we have a test? :) |
@domenkozar Sorry for taking a long time, I've added a test! |
I've rebased the patches but for some reason |
@abbradar You need the Don't know if changing the behaviour of |
@edolstra I see this as a bug because it can silently break users' systems after |
@edolstra I'd really prefer we branch off 2.0 if we're going to start delaying PRs because they shouldn't be in 2.0... That way we can keep moving despite being feature frozen (or perhaps feature chilled) |
Can we proceed with this now that 2.0 release has been branched? |
@edolstra Any concerns? |
So, any movement here? I've run into this bug yet again, it's pretty annoying. |
I marked this as stale due to inactivity. → More info |
Co-authored-by: Shea Levy <shea@shealevy.com>
I have rebased this and resolved conflicts. Not sure if using I understand that life and other priorities can get in the way, but it still feels frustrating to keep rebasing this patchset for so many years without any movement. Maybe now that 2.0 is released long time ago we can move forward with this? |
The risk with this PR is that it can cause evaluation to produce a different result depending on whether the input is in the Nix store (where it could have references). In the past we had issues like that with Hydra (which copies sources to the Nix store). However, it should be okay so long as the source tree has no references. |
Thanks! Let's hope this won't break corner cases for people like it did before @shlevy helped fix it. If anything arises, ping me. |
This rebases old patches to fix #833 and fixes Hydra test failure too. Closes #833.
cc @shlevy