Fix compilation for latest Lix main #19

Merged
jade merged 1 commit from jade/fix-compilation into main 2024-12-06 21:54:13 +00:00
Owner

Supercedes #18

Supercedes https://git.lix.systems/lix-project/nix-eval-jobs/pulls/18
jade added 1 commit 2024-12-06 21:17:32 +00:00
jade requested review from pennae 2024-12-06 21:17:37 +00:00
pennae requested changes 2024-12-06 21:26:13 +00:00
Dismissed
pennae left a comment
Owner

this'll work, but it can be made just a little bit more robust

this'll work, but it can be made just a little bit more robust
src/worker.cc Outdated
@ -44,2 +45,3 @@
static nix::Value *releaseExprTopLevelValue(nix::EvalState &state,
static nix::Value *releaseExprTopLevelValue(nix::Evaluator &evaluator,
nix::EvalState &state,
Owner

&state.ctx != &evaluator is unsound, so if you need both you should take the evaluator from the state

`&state.ctx != &evaluator` is unsound, so if you need both you should take the evaluator from the state
jade marked this conversation as resolved
jade force-pushed jade/fix-compilation from 8c5bbf8dde to bdbe3e1304 2024-12-06 21:51:04 +00:00 Compare
pennae approved these changes 2024-12-06 21:53:52 +00:00
jade merged commit df3edf3730 into main 2024-12-06 21:54:13 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/nix-eval-jobs#19
No description provided.