| 19 Oct 2025 |
dramforever | okay but | 16:50:29 |
dramforever | this alpine fgetspent_r is not _r | 16:50:42 |
Grimmauld (any/all) | yeah.... | 16:50:51 |
Grimmauld (any/all) | we love hacks | 16:51:13 |
Grimmauld (any/all) | anyways, if matthewcroughan has an idea to make pwaccess work on musl (e.g. writing a similar shim for fgetpwent_r too) then we may have an suidless musl login | 17:11:50 |
Grimmauld (any/all) | i won't poke the musl part of this too hard for now | 17:12:06 |
matthewcroughan | if you wanted to, then matthewcroughan.cachix.org has a lot of cache | 17:12:25 |
matthewcroughan | I want to host and sign a musl hydra at some point | 17:12:40 |
Grimmauld (any/all) | this needs basically no cache, its like 25 packages (admittedly systemdLibs takes a few minutes, but still very manageable).
I don't have a setup to run musl VM tests, i am missing nix expressions for that, not necessarily cache | 17:13:21 |
matthewcroughan | But do I even need to run hydra? Can't I just run something like https://git.snix.dev/snix/snix/src/branch/canon/ops/machines/snix-cache ? | 17:13:17 |
matthewcroughan | There is no way to run a musl vm test because of only one thing | 17:13:38 |
matthewcroughan | pytest breakage on staging-next | 17:13:45 |
matthewcroughan | https://git.snix.dev/snix/snix/src/branch/canon/ops/machines/snix-cache | 17:13:52 |
matthewcroughan | * https://github.com/MatthewCroughan/nixos-musl | 17:13:57 |
Grimmauld (any/all) | fair | 17:14:06 |
matthewcroughan | this repo has inside legacyPackages.vmtest-gnu-musl which would do it if pytest weren't broken by https://github.com/NixOS/nixpkgs/pull/451506 | 17:14:18 |
Grimmauld (any/all) | anyways, you have suid-less login, if you make that musl-compatible then give me a shout | 17:14:24 |
matthewcroughan | Where's the code for that exactly? | 17:15:02 |
matthewcroughan | Ah here | 17:15:13 |
matthewcroughan | If you want to test it too, you'll first need https://github.com/MatthewCroughan/nixpkgs/tree/mc/conditional-glibcsystemdinitrd because that is the only thing in nixpkgs that isn't overridable atm | 17:16:16 |
matthewcroughan | other than this, you can just do everything via overlays | 17:16:42 |
matthewcroughan | Or you can use the old scripted initrd, but that's quite broken by now | 17:17:27 |
matthewcroughan | vintage ;D | 17:17:43 |
matthewcroughan | I can confirm that my experiments over at https://github.com/MatthewCroughan/rk3588-falcon-experiments/tree/even-minimaler have worked quite nicely | 17:18:44 |
Grimmauld (any/all) | wait how are you 588 ahead of master? | 17:18:45 |
Grimmauld (any/all) | was this branched from staging? | 17:18:53 |
matthewcroughan | staging-next yeah | 17:18:58 |
Grimmauld (any/all) | ah | 17:19:02 |
Grimmauld (any/all) | fair enough | 17:19:05 |
matthewcroughan | I should have linked the pr, whoops https://github.com/NixOS/nixpkgs/pull/452738 | 17:19:45 |