!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

564 Members
120 Servers

Load older messages


SenderMessageTime
26 Jan 2026
@grimmauld:m.grimmauld.deGrimmauld (any/all)but its one of those things that is just better than the default15:52:23
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemyeah, for sure15:53:07
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemIn nixos-musl, if I add those, iproute still ends up in the graph15:56:22
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemimage.png
Download image.png
15:56:26
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem remember this is for pkgs.nixos {} all defaults, maybe you've got some more config that somehow gets rid of iproute from the systemPackages too 15:57:08
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem modifying environment.defaultPackages for example ? 15:57:29
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem Yes, it's in environment.corePackages 16:00:03
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemhttps://github.com/NixOS/nixpkgs/blob/master/nixos/modules/tasks/network-interfaces.nix#L1771-L177716:00:33
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemYeah, I'm not sure how you're able to get rid of that16:03:16
@grimmauld:m.grimmauld.deGrimmauld (any/all)oh yeah i build systemd without tpm :P16:05:28
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemAh!16:05:32
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemHow does that actually relate to iproute2 being included in the network tho16:05:44
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem* How does that actually relate to iproute2 being included in the network interfaces file tho16:05:50
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem like how does tasks/network-interfaces.nix somehow become conditional on tpm 16:06:05
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem * like how does tasks/network-interfaces.nix somehow become conditional on tpm? 16:06:07
@grimmauld:m.grimmauld.deGrimmauld (any/all)no clue, i just know i haven't heard of any issues with iproute and dropping iptables is the only overlay i have against it16:06:23
@grimmauld:m.grimmauld.deGrimmauld (any/all)iproute stays in the closure16:06:33
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemThen something else must be being done, I don't think tpm is related here16:06:37
@grimmauld:m.grimmauld.deGrimmauld (any/all)but iptables goes away16:06:38
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemOh okay and iproute is the thing causing the failure16:06:50
@grimmauld:m.grimmauld.deGrimmauld (any/all)yeah16:06:57
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemfor me, it doesn't resolve it, iproute2 with iptables is still in the closure16:07:18
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemverbatim doing what you said16:07:21
@grimmauld:m.grimmauld.deGrimmauld (any/all)the only thing i do to it is remove iptables, other than that the nixpkgs package for iproute just works on musl last i checked16:07:29
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemYeah no, I think this fix you've provided is for a different failure case16:09:32
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem

iproute2 is failing due to

iproute2> utils_math.c:136:13: error: use of undeclared identifier 'UINT_MAX'
iproute2>   136 |         if (sz64 > UINT_MAX)
16:10:01
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem Grimmauld (any/all): You won't believe this 16:26:46
@matthewcroughan:defenestrate.itmatthewcroughan @fosdeman agent did a bunch of web searches and found a fix16:26:54
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemhttps://hina.lysator.liu.se/pub/gentoo-portage/sys-apps/iproute2/files/iproute2-6.18.0-musl.patch16:27:17
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemGuess they're already fixing this in gentoo16:27:27

Show newer messages


Back to Room ListRoom Version: 6