| 18 Oct 2025 |
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 |
matthewcroughan | * Like i'm not letting things hang around unsubmitted | 12:32:51 |
Alyssa Ross | you were asking about mesa/valgrind in a way that suggested urgency | 12:33:09 |
matthewcroughan | Maybe I'm just excited? :D | 12:33:19 |
matthewcroughan | Not urgent at all | 12:33:23 |
Alyssa Ross | if there isn't urgency, the thing to do is finish fixing valgrind | 12:33:24 |