!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

552 Members
116 Servers

Load older messages


SenderMessageTime
18 Oct 2025
@qyliss:fairydust.spaceAlyssa Rosswe have a "working musl"12:26:36
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Not always, I know my issue here is LLVM related only, but I've had similar circumstances 12:26:57
@qyliss:fairydust.spaceAlyssa Rossyes, packages are broken sometimes12:27:21
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Like let's say we want to compile Blender with Musl, alpine seems to have that working, but we probably won't due to our enablement of every dep and feature12:27:24
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)And it may be that upstream patching is needed, but it's also the case that we could just compile a more minimal blender.12:28:13
@qyliss:fairydust.spaceAlyssa Rosswhich you can do with overrides12:28:31
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Ah okay that's the solution then12:28:39
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)if something is for some reason not optional, enough to make it able to be compiled with musl, then that is the bug12:28:54
@dramforever:matrix.orgdramforeverwe don't have to do everything in upstream nixpkgs12:28:57
@qyliss:fairydust.spaceAlyssa Rossas a user, you probably don't actually want silent differences in feature support on different platforms for non-fundamental reasons every time somebody didn't feel like fixing something properly12:29:08
@dramforever:matrix.orgdramforeverlike this is the thing you need to lay off the gas on12:29:08
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)A lot of what I have found is not optional and not fixable outside of nixpkgs12:29:33
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)So in that case it does need to be done 12:29:42
@dramforever:matrix.orgdramforeveryou can just maintain a fork of nixpkgs that works for musl12:29:51
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)https://github.com/NixOS/nixpkgs/pull/45273812:29:58
@dramforever:matrix.orgdramforeverand then push stuff either into nixpkgs or upstream12:30:01
@dramforever:matrix.orgdramforeveras maint goes on12:30:07
@dramforever:matrix.orgdramforeverexample: https://github.com/loongson-community/nixpkgs12:30:23
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Yeah I have been, and then submitting PRs 12:30:29
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Like my flake right now is depending on my own fork12:30:38
@qyliss:fairydust.spaceAlyssa Rossthat's the way12:30:43
@qyliss:fairydust.spaceAlyssa Rossover time the diff reduces12:30:48
@qyliss:fairydust.spaceAlyssa Rossand then your fork fades away12:30:51
@dramforever:matrix.orgdramforeveryeah just do that12:30:54
@qyliss:fairydust.spaceAlyssa Rossthat's what happened with my own musl work12:30:55
@qyliss:fairydust.spaceAlyssa Rossnow everything works in upstream Nixpkgs and I no longer have a fork12:31:04
@qyliss:fairydust.spaceAlyssa Rossbut you can't get there overnight12:31:06
@dramforever:matrix.orgdramforeverif you don't make your work block on having nixpkgs merge stuff what's the urgency12:31:45
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)There isn't? I'm just firing off PRs as soon as I find them12:32:23
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Like i'm not letting things hang around12:32:43

Show newer messages


Back to Room ListRoom Version: 6