| 19 Oct 2025 |
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 |
Grimmauld (any/all) | i did fall into the glibc trap too... The default apparmor stuff pulls glibc for some reason too | 17:19:46 |
Grimmauld (any/all) | i should fix that some day | 17:19:52 |
matthewcroughan | Well it's not being tested by hydra so it's not like failures will be noticed | 17:20:08 |
matthewcroughan | but now there's my flake, and I'm hoping to make it auto-update against nixpkgs | 17:20:38 |
Grimmauld (any/all) | https://github.com/NixOS/nixpkgs/blob/8e0428720b47ab71cccfc98d2461d2c9f27e1ec6/nixos/modules/security/apparmor/includes.nix#L98
this is... wonky | 17:20:52 |
matthewcroughan | Yeah, in my nixos-musl flake I get around that with https://github.com/MatthewCroughan/nixos-musl/blob/master/musl.nix#L18C3-L19C1 | 17:21:37 |
matthewcroughan | And it works | 17:21:42 |
Grimmauld (any/all) | lol | 17:21:52 |
Grimmauld (any/all) | fair enough XD | 17:21:59 |
matthewcroughan | I have my 47M image booted on an rk3588 right now | 17:22:17 |
matthewcroughan | 47MB is about how big glibc itself is lol | 17:22:35 |
matthewcroughan |  Download image.png | 17:23:05 |
matthewcroughan | systemd could stand to lose some weight | 17:23:14 |
matthewcroughan | An annoying, not-overridable part of the bootstrap is gmp-with-cxx | 17:23:41 |
matthewcroughan | coreutils-aarch64-unknown-linux-musl-9.8 12.47 MiB (8.96 MiB)│ gmp-with-cxx-aarch64-unknown-linux-musl-6.3.0 10.78 MiB (7.27 MiB) | 17:23:51 |