!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

554 Members
120 Servers

Load older messages


SenderMessageTime
16 Oct 2025
@dramforever:matrix.orgdramforeverlooks like it's trying to patch twice08:10:51
@dramforever:matrix.orgdramforeveri think08:42:43
@dramforever:matrix.orgdramforeveri can't really tell what's blocked on what08:54:14
@matthewcroughan:defenestrate.itmatthewcroughan dramforever: I pushed a lot of BS and the latest commit is what matters 15:39:32
@matthewcroughan:defenestrate.itmatthewcroughanIt pushes to cachix and you should be able to run the thing and pull the cache 15:39:51
@matthewcroughan:defenestrate.itmatthewcroughan nix build github:matthewcroughan/nixos-musl/refactor#nixosConfigurations.gnu-musl.config.system.build.vm 15:40:21
@matthewcroughan:defenestrate.itmatthewcroughan dramforever: 👏 15:40:31
@matthewcroughan:defenestrate.itmatthewcroughanIt worked15:40:32
@matthewcroughan:defenestrate.itmatthewcroughanStill nobody to review my PRs that I'm holding as patches in my own repo 15:43:59
@matthewcroughan:defenestrate.itmatthewcroughanI've tested them pretty extensively, they're working, and they just live in https://github.com/MatthewCroughan/nixos-musl/blob/refactor/musl.nix#L80-L11915:44:55
@dramforever:matrix.orgdramforevernice15:56:33
@dramforever:matrix.orgdramforeverif it looks like nothing else has broke i'll send it to musl15:56:45
@dramforever:matrix.orgdramforeveror maybe think harder about how to deal with arch specific code15:56:58
@matthewcroughan:defenestrate.itmatthewcroughanJust make it crash with -95 on every platform except for aarch64 😎15:58:18
@dramforever:matrix.orgdramforeveri already made it fall back to old behavior for unimplemented architectures15:59:00
@matthewcroughan:defenestrate.itmatthewcroughanThat is an ouch...15:59:34
@matthewcroughan:defenestrate.itmatthewcroughanIt should at least report or mark that it is broken15:59:41
@matthewcroughan:defenestrate.itmatthewcroughanotherwise that's just some form of silent bug that breaks other arches15:59:49
@matthewcroughan:defenestrate.itmatthewcroughanI think there should be some messaging somewhere 16:00:03
@matthewcroughan:defenestrate.itmatthewcroughanCan we carry this musl patch in nixpkgs until they merge it?16:00:17
@dramforever:matrix.orgdramforeverno16:00:37
@matthewcroughan:defenestrate.itmatthewcroughanI think this is equivalent to how we patch many things, like kmod or systemd because we need recursion 16:00:38
@matthewcroughan:defenestrate.itmatthewcroughan* I think this is equivalent to how we patch many things, like kmod or systemd because we need recursion and lists16:00:43
@matthewcroughan:defenestrate.itmatthewcroughanI don't see how this patch is any more or less relevant than some of the kmod or systemd patches we carry16:00:58
@matthewcroughan:defenestrate.itmatthewcroughanBTW, if you feel like more hacking, kmod needs to be version bumped, and that patch is crazy16:01:17
@matthewcroughan:defenestrate.itmatthewcroughanhttps://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/os-specific/linux/kmod/module-dir.patch16:01:33
@matthewcroughan:defenestrate.itmatthewcroughan This makes kmod accept a list of arguments instead of a hardcoded fhs dir 16:02:04
@matthewcroughan:defenestrate.itmatthewcroughannecessary for nixos, similar to your musl patch :)16:02:11
@matthewcroughan:defenestrate.itmatthewcroughanAnd we're 3 versions behind on kmod because they've moved to meson, and this patch isn't upstreamed16:02:55
@dramforever:matrix.orgdramforevervendoring my musl patch in nixpkgs is a violation of https://do-not-ship-work-in-progress.gitlab.io/16:03:59

Show newer messages


Back to Room ListRoom Version: 6