!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

552 Members
118 Servers

Load older messages


SenderMessageTime
19 Oct 2025
@matthewcroughan:defenestrate.itmatthewcroughanThere is no way to run a musl vm test because of only one thing17:13:38
@matthewcroughan:defenestrate.itmatthewcroughanpytest breakage on staging-next17:13:45
@matthewcroughan:defenestrate.itmatthewcroughanhttps://git.snix.dev/snix/snix/src/branch/canon/ops/machines/snix-cache17:13:52
@matthewcroughan:defenestrate.itmatthewcroughan* https://github.com/MatthewCroughan/nixos-musl17:13:57
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)fair17:14:06
@matthewcroughan:defenestrate.itmatthewcroughan 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:grapevine.grimmauld.deGrimmauld (any/all)anyways, you have suid-less login, if you make that musl-compatible then give me a shout17:14:24
@matthewcroughan:defenestrate.itmatthewcroughanWhere's the code for that exactly?17:15:02
@matthewcroughan:defenestrate.itmatthewcroughanAh here 17:15:13
@matthewcroughan:defenestrate.itmatthewcroughanIf 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:defenestrate.itmatthewcroughanother than this, you can just do everything via overlays 17:16:42
@matthewcroughan:defenestrate.itmatthewcroughanOr you can use the old scripted initrd, but that's quite broken by now 17:17:27
@matthewcroughan:defenestrate.itmatthewcroughanvintage ;D17:17:43
@matthewcroughan:defenestrate.itmatthewcroughanI can confirm that my experiments over at https://github.com/MatthewCroughan/rk3588-falcon-experiments/tree/even-minimaler have worked quite nicely17:18:44
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)wait how are you 588 ahead of master?17:18:45
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)was this branched from staging?17:18:53
@matthewcroughan:defenestrate.itmatthewcroughanstaging-next yeah 17:18:58
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)ah17:19:02
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)fair enough17:19:05
@matthewcroughan:defenestrate.itmatthewcroughanI should have linked the pr, whoops https://github.com/NixOS/nixpkgs/pull/45273817:19:45
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i did fall into the glibc trap too... The default apparmor stuff pulls glibc for some reason too17:19:46
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i should fix that some day17:19:52
@matthewcroughan:defenestrate.itmatthewcroughanWell it's not being tested by hydra so it's not like failures will be noticed 17:20:08
@matthewcroughan:defenestrate.itmatthewcroughanbut now there's my flake, and I'm hoping to make it auto-update against nixpkgs 17:20:38
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)https://github.com/NixOS/nixpkgs/blob/8e0428720b47ab71cccfc98d2461d2c9f27e1ec6/nixos/modules/security/apparmor/includes.nix#L98 this is... wonky17:20:52
@matthewcroughan:defenestrate.itmatthewcroughanYeah, in my nixos-musl flake I get around that with https://github.com/MatthewCroughan/nixos-musl/blob/master/musl.nix#L18C3-L19C117:21:37
@matthewcroughan:defenestrate.itmatthewcroughanAnd it works17:21:42
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)lol17:21:52
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) fair enough XD17:21:59
@matthewcroughan:defenestrate.itmatthewcroughanI have my 47M image booted on an rk3588 right now 17:22:17

Show newer messages


Back to Room ListRoom Version: 6