-
-
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
No global eval settings in libnixexpr
#10913
Conversation
fab536d
to
df54688
Compare
Is there a use case where we could have multiple |
@edolstra Evaluating completely independent things. Could be part of an application with a long-lived process, or it could be part of the unit tests. The latter one may be just testing, but it's a fully non-hypothetical real one today. |
df54688
to
4fd6441
Compare
Progress on #5638 There is still a global eval settings, but it pushed down into `libnixcmd`, which is a lot less bad a place for this sort of thing.
4fd6441
to
52bfccf
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2024-06-24-nix-team-meeting-minutes-155/47739/1 |
void * p = ::operator new( | ||
sizeof(EvalState), | ||
static_cast<std::align_val_t>(alignof(EvalState))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is causing problems for 24.05.
Might a simpler solution be feasible?
https://github.com/NixOS/nixpkgs/pull/324408/checks?check_run_id=27026504754
Motivation
Progress on #5638
Context
There is still a global eval settings, but it pushed down into
libnixcmd
, which is a lot less bad a place for this sort of thing.Priorities and Process
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.