| 7 May 2025 |
SomeoneSerge (matrix works sometimes) | 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 (matrix works sometimes) | Does root refer to the current derivation? | 21:25:44 |
K900 | Can you not overlay it on pkgs? | 21:27:35 |
szlend | I'm thinking about it like root == pkgsCross.<platform> == pkgsCross.<platform>.pkgsHostTarget (assuming those are equivalent) | 21:27:44 |
szlend | so pkgsCross.<platform>.pkgsBuildHost.pkgsBuildTarget == pkgsCross.<platform>.pkgsHostHost | 21:28:39 |