!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

581 Members
128 Servers

Load older messages


SenderMessageTime
26 Jan 2026
@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.itmatthewcroughanYeah no, I think this fix you've provided is for a different failure case16:09:32
@matthewcroughan:defenestrate.itmatthewcroughan

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 Grimmauld (any/all): You won't believe this 16:26:46
@matthewcroughan:defenestrate.itmatthewcroughanan agent did a bunch of web searches and found a fix16:26:54
@matthewcroughan:defenestrate.itmatthewcroughanhttps://hina.lysator.liu.se/pub/gentoo-portage/sys-apps/iproute2/files/iproute2-6.18.0-musl.patch16:27:17
@matthewcroughan:defenestrate.itmatthewcroughanGuess they're already fixing this in gentoo16:27:27
@matthewcroughan:defenestrate.itmatthewcroughanBut the same fix has been posted to a bunch of mailing lists16:27:34
@matthewcroughan:defenestrate.itmatthewcroughanI'm surprised we haven't ran into this before anyhow16:27:47
@matthewcroughan:defenestrate.itmatthewcroughanhttps://github.com/NixOS/nixpkgs/pull/48407617:07:51
@matthewcroughan:defenestrate.itmatthewcroughanAlso if someone could review https://github.com/NixOS/nixpkgs/pull/484078 I'd appreciate it17:08:09
27 Jan 2026
@whispers:catgirl.cloudwhispers [& it/fae] changed their display name from whispers (it/fae) to whispers [& it/fae].02:51:52
@matthewcroughan:defenestrate.itmatthewcroughanHah nice12:05:59
@matthewcroughan:defenestrate.itmatthewcroughanhttps://hercules-ci.com/github/MatthewCroughan/nixos-musl/jobs/16612:06:02
@matthewcroughan:defenestrate.itmatthewcroughan Alyssa Ross: with the iproute2/std23-bash fix, all the combinations of pkgs.nixos {} build now 12:06:25
@matthewcroughan:defenestrate.itmatthewcroughancross/native, llvm etc12:06:35
@matthewcroughan:defenestrate.itmatthewcroughan Alyssa Ross: the bash thing has to be conditional 12:38:26
@matthewcroughan:defenestrate.itmatthewcroughanhttps://hercules-ci.com/accounts/github/MatthewCroughan/derivations/%2Fnix%2Fstore%2Fclxxf8aarwb094jirgsf8n7qc56qli16-bash-5.3p9.drv/log?via-job=404c4d50-b94a-4e4c-8515-6e8ef4360a6e12:38:28
@matthewcroughan:defenestrate.itmatthewcroughanit does this otherwise when not cross12:38:32
@matthewcroughan:defenestrate.itmatthewcroughanmaybe isClang would be the better conditional12:39:50
@qyliss:fairydust.spaceAlyssa Rossmaybe we need an older c standard?12:39:54
@qyliss:fairydust.spaceAlyssa Rosscheck config.log to be sure12:40:16
@matthewcroughan:defenestrate.itmatthewcroughansurely bash itself would improve upstream no?12:42:33
@matthewcroughan:defenestrate.itmatthewcroughanlike won't they just fix this issue as well?12:42:47
@matthewcroughan:defenestrate.itmatthewcroughan Alyssa Ross: https://hercules-ci.com/github/MatthewCroughan/nixos-musl/jobs/173 12:46:35
@matthewcroughan:defenestrate.itmatthewcroughanisMusl is a conditional that works well12:46:42
@matthewcroughan:defenestrate.itmatthewcroughan* isClang is a conditional that works well12:46:47
@matthewcroughan:defenestrate.itmatthewcroughanfixes everything and doesn't break base12:46:52
@matthewcroughan:defenestrate.itmatthewcroughanbase is just regular nixos12:46:57
@qyliss:fairydust.spaceAlyssa Rosshas it been reported?12:53:43

Show newer messages


Back to Room ListRoom Version: 6