!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

580 Members
128 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
19 Oct 2025
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)shit16:50:00
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)sorry16:50:04
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) *

matthewcroughan: i have copied the nixosTests.login and added security.enableWrappers = false + pwaccess stuff, and the test is succeeding. Its screaming at me and i am definitely doing things wrong, but this might be progress?

Bad news is, pwaccess uses fgetspent_r / ~~fgetspent_r~~ fgetpwent_r which are unavailable on musl. Not sure yet how i'll fix that pain

16:50:18
@dramforever:matrix.orgdramforeverokay but16:50:29
@dramforever:matrix.orgdramforeverthis alpine fgetspent_r is not _r16:50:42
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)yeah....16:50:51
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)we love hacks16:51:13
@grimmauld:grapevine.grimmauld.deGrimmauld (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:grapevine.grimmauld.deGrimmauld (any/all)i won't poke the musl part of this too hard for now17:12:06
@matthewcroughan:defenestrate.itmatthewcroughanif you wanted to, then matthewcroughan.cachix.org has a lot of cache 17:12:25
@matthewcroughan:defenestrate.itmatthewcroughanI want to host and sign a musl hydra at some point 17:12:40
@grimmauld:grapevine.grimmauld.deGrimmauld (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 cache17:13:21
@matthewcroughan:defenestrate.itmatthewcroughanBut 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: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

Show newer messages


Back to Room ListRoom Version: 6