| 18 Oct 2025 |
Alyssa Ross | we have a "working musl" | 12:26:36 |
matthewcroughan | Not always, I know my issue here is LLVM related only, but I've had similar circumstances | 12:26:57 |
Alyssa Ross | yes, packages are broken sometimes | 12:27:21 |
matthewcroughan | 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 feature | 12:27:24 |
matthewcroughan | 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 |
Alyssa Ross | which you can do with overrides | 12:28:31 |
matthewcroughan | Ah okay that's the solution then | 12:28:39 |
matthewcroughan | if something is for some reason not optional, enough to make it able to be compiled with musl, then that is the bug | 12:28:54 |
dramforever | we don't have to do everything in upstream nixpkgs | 12:28:57 |
Alyssa Ross | as 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 properly | 12:29:08 |
dramforever | like this is the thing you need to lay off the gas on | 12:29:08 |
matthewcroughan | A lot of what I have found is not optional and not fixable outside of nixpkgs | 12:29:33 |
matthewcroughan | So in that case it does need to be done | 12:29:42 |
dramforever | you can just maintain a fork of nixpkgs that works for musl | 12:29:51 |
matthewcroughan | https://github.com/NixOS/nixpkgs/pull/452738 | 12:29:58 |
dramforever | and then push stuff either into nixpkgs or upstream | 12:30:01 |
dramforever | as maint goes on | 12:30:07 |
dramforever | example: https://github.com/loongson-community/nixpkgs | 12:30:23 |
matthewcroughan | Yeah I have been, and then submitting PRs | 12:30:29 |
matthewcroughan | Like my flake right now is depending on my own fork | 12:30:38 |
Alyssa Ross | that's the way | 12:30:43 |
Alyssa Ross | over time the diff reduces | 12:30:48 |
Alyssa Ross | and then your fork fades away | 12:30:51 |
dramforever | yeah just do that | 12:30:54 |
Alyssa Ross | that's what happened with my own musl work | 12:30:55 |
Alyssa Ross | now everything works in upstream Nixpkgs and I no longer have a fork | 12:31:04 |
Alyssa Ross | but you can't get there overnight | 12:31:06 |
dramforever | if you don't make your work block on having nixpkgs merge stuff what's the urgency | 12:31:45 |
matthewcroughan | There isn't? I'm just firing off PRs as soon as I find them | 12:32:23 |
matthewcroughan | Like i'm not letting things hang around | 12:32:43 |