-
Notifications
You must be signed in to change notification settings - Fork 107
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
copy evaluation store paths to iso #195
Comments
This is intended to cache avaluation and thereby cut evaulation times within a live iso environment. closes: divnix#195
This is intended to cache avaluation and thereby cut evaulation times within a live iso environment. closes: divnix#195
I'm not sure if I misunderstand this. But no matter how many paths we add to the nix store by default, nix will still have to evaluate the nix expressions to figure out what store path it needs. And so if you're talking about evaluation caching, we would have to copy the evaluation cache sqlite databases which would result in an impure call to a file outside of the flake. Perhaps we can lobby for a nix function that can evaluate an expression and output the evaluation cache. |
I think you are right. I'll test and report back. But probably you are right and my idea in Pacman99#2 is falling short of fixing this. |
I mean copying the drvPath is definitely an improvement. I assume it takes nix less time to get to the drv path than evaluate and get the store path. |
For lack of traction, for the te being I withdrawing from this issue. |
If you, by-comer, are knowledgeable enough to solve #191 (comment), please do.
The goal is to also copy evaluations into the iso to avoid evaluation times on slow/low resource target machines.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: