| 7 May 2025 |
K900 | Yes I will keep bringing this up | 21:09:50 |
szlend | I'm trying to wire up a spliced package set with makeScopeWithSplicing that is not overlayed on top of pkgs. Usually you would wire it up with generateSplicesForMkScope, but that's not an option here. You can wire up otherSplices naively with recursion, but that explodes evaluation very quickly, as it unnecessarily evaluates against the same pkgs<host><target> instances. | 21:20:43 |
SomeoneSerge (back on matrix) | I was very stupidly confused about this even though there are only two kinds of "offsets" in the end. I just couldn't figure out which sense is meant in any particular place. TLDR: Offsets in Nixpkgs manual are points, but {host,target}Offsets in setup-hooks are vectors | 21:21:51 |
szlend | This is my understanding of how perspective shifts, but I could be very wrong: https://gist.github.com/szlend/62bfa710ff89b7dc3a871693ca34c94c | 21:22:38 |
szlend | So I kinda wanna confirm it :D | 21:22:45 |
SomeoneSerge (back on matrix) | Does root refer to the current derivation? | 21:25:44 |