!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

579 Members
128 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
7 May 2025
@ss:someonex.netSomeoneSerge (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:matrix.orgszlendThis is my understanding of how perspective shifts, but I could be very wrong: https://gist.github.com/szlend/62bfa710ff89b7dc3a871693ca34c94c21:22:38
@szlend:matrix.orgszlendSo I kinda wanna confirm it :D21:22:45
@ss:someonex.netSomeoneSerge (matrix works sometimes) Does root refer to the current derivation? 21:25:44
@k900:0upti.meK900 Can you not overlay it on pkgs? 21:27:35
@szlend:matrix.orgszlendI'm thinking about it like root == pkgsCross.<platform> == pkgsCross.<platform>.pkgsHostTarget (assuming those are equivalent)21:27:44
@szlend:matrix.orgszlendso pkgsCross.<platform>.pkgsBuildHost.pkgsBuildTarget == pkgsCross.<platform>.pkgsHostHost21:28:39

Show newer messages


Back to Room ListRoom Version: 6