!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

557 Members
119 Servers

Load older messages


SenderMessageTime
18 Oct 2025
@dramforever:matrix.orgdramforeverit is for development and debugging, which a lot of nixpkgs users do12:35:50
@qyliss:fairydust.spaceAlyssa Rossif you want to argue for disabling valgrind by default on mesa, that's very different from arguing for doing it on "some platforms".12:36:25
@qyliss:fairydust.spaceAlyssa Ross but presumably at some point somebody decided that Valgrind should be included in Mesa, so it's not necessarily going to be easy to find consensus for 12:37:26
@matthewcroughan:defenestrate.itmatthewcroughanIt's optional via override so it's fine12:37:46
@matthewcroughan:defenestrate.itmatthewcroughanLike I think if it's optional via override, then it doesn't need to touch nixpkgs 12:38:23
@matthewcroughan:defenestrate.itmatthewcroughanAnd if it's not optional via override like this is, then that's the thing that needs to change. But things should also compile with musl without override, which in this case would require fixing valgrind upstream12:39:12
@qyliss:fairydust.spaceAlyssa Rossagain, mesa works fine with musl12:39:26
@matthewcroughan:defenestrate.itmatthewcroughans/musl/llvm/g12:39:40
@matthewcroughan:defenestrate.itmatthewcroughanI just woke up :D12:39:50
@matthewcroughan:defenestrate.itmatthewcroughanCrawled to my computer and started building12:40:02
@qyliss:fairydust.spaceAlyssa Rosssupport for building with LLVM in Nixpkgs is very new. musl has had a lot of work put into it over years, and LLVM hasn't yet.12:40:12
@qyliss:fairydust.spaceAlyssa Ross(speaking from experience) it's also very important when doing stuff with obscure platforms to make sure you're not stepping on anybody's toes, because if people get annoyed they'll start wanting to just declare your platform unsupported, and then you're screwed12:40:23
@qyliss:fairydust.spaceAlyssa Ross the #1 most important thing for musl support in Nixpkgs being where it is today (where I don't have to have a fork) is that it happened quietly, so nobody ever got annoyed enough to ask why they should have to care about it 12:41:56
@matthewcroughan:defenestrate.itmatthewcroughanWho merged the PRs and reviewed the PRs though?12:42:31
@qyliss:fairydust.spaceAlyssa Rosspackage maintainers mostly12:42:54
@qyliss:fairydust.spaceAlyssa RossI always tried to make very sure that PRs were merge-ready when I opened them12:43:08
@qyliss:fairydust.spaceAlyssa Rossin many cases, there were no Nixpkgs PRs12:43:40
@qyliss:fairydust.spaceAlyssa Rossbecause I got things fixed upstream12:43:44
@qyliss:fairydust.spaceAlyssa Rossand just waited for Nixpkgs to update12:43:50
@matthewcroughan:defenestrate.itmatthewcroughanI see, yeah so like I said if I find any more things like that I'll just make it a draft PR instead of an open one12:44:12
@qyliss:fairydust.spaceAlyssa RossI tried to make it so that other people had to spend as little time thinking about musl as possible12:44:40
@qyliss:fairydust.spaceAlyssa Ross(this did mean a lot of suffering in silence, because at the time there wasn't really anybody else around who cared — nowadays fortunately that's not true and we can help each other.)12:46:11
@qyliss:fairydust.spaceAlyssa Rossoften I just had to put some stuff down until I had acquired more experience with simpler fixes and could come back to it later12:46:46
@dramforever:matrix.orgdramforeverdid i ever give you the patch for fb-re212:54:00
@matthewcroughan:defenestrate.itmatthewcroughanI might have missed it, the thing you sent me on email was the upstream musl one right?12:54:39
@dramforever:matrix.orgdramforeveryeah that's on the mailing list12:55:10
@matthewcroughan:defenestrate.itmatthewcroughanYou gave me a compare link to github I vaguely remember, I must have been busy on some other task at the time 12:55:27
@matthewcroughan:defenestrate.itmatthewcroughanhttps://github.com/facebook/pyre2/compare/main...dramforever:pyre2:fix-py3-type this?12:57:36
@dramforever:matrix.orgdramforeveryeah12:57:45
@dramforever:matrix.orgdramforeveri think this one might be a good candidate to remove dependence on12:58:15

Show newer messages


Back to Room ListRoom Version: 6