!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

547 Members
118 Servers

Load older messages


SenderMessageTime
17 Oct 2025
@elvishjerricco:matrix.orgElvishJerricco it's truly this simple: the platform can be using any libc in the world. Only in the glibc platform do we want to do this condition. 04:24:18
@matthewcroughan:defenestrate.itmatthewcroughan Yes, but as far as I understood musl is a libc, and isMusl should be equivalent to libc == musl 04:24:28
@elvishjerricco:matrix.orgElvishJerricco ....... which is not inverse to libc == glibc 04:24:49
@elvishjerricco:matrix.orgElvishJerriccowhich is the whole point04:24:53
@matthewcroughan:defenestrate.itmatthewcroughanYes, and your suggestion reads better, I'm just trying to learn a bit more 04:25:01
@elvishjerricco:matrix.orgElvishJerriccothe thing should not evaluate to true if some non-glibc, non-musl thing is libc04:25:10
@matthewcroughan:defenestrate.itmatthewcroughanah that's the example I didn't get, makes more sense now 04:25:27
@dramforever:matrix.orgdramforeveri'm sending it soon, do you have an address you want to get a cc on?10:08:32
@dramforever:matrix.orgdramforeveri sent it to your git commit address, hope you like email10:51:20
@dramforever:matrix.orgdramforeverif you don't uhhhh block it or something10:51:48
@matthewcroughan:defenestrate.itmatthewcroughanI got it, thank you!11:30:25
18 Oct 2025
@matthewcroughan:defenestrate.itmatthewcroughanhttps://hercules-ci.com/accounts/github/MatthewCroughan/derivations/%2Fnix%2Fstore%2F5nnc4v6x94pq0k9vrl8pb69zwjj0518l-valgrind-aarch64-unknown-linux-musl-3.25.1.drv/log?via-job=d5388d69-831d-4a05-b861-7ad9d634b54801:46:33
@matthewcroughan:defenestrate.itmatthewcroughanWeird error that only happens on gnu-llvm-musl cross 01:46:51
@matthewcroughan:defenestrate.itmatthewcroughanactually seems to happen on native too, so maybe it's just musl 01:47:25
@matthewcroughan:defenestrate.itmatthewcroughan* actually seems to happen on native too, so maybe it's just llvm01:47:29
@matthewcroughan:defenestrate.itmatthewcroughanvalgrind is a dep of mesa, and I was trying musl/llvm + mesa 01:48:53
@matthewcroughan:defenestrate.itmatthewcroughansurprisingly, the regular musl config works with mesa01:49:12
@matthewcroughan:defenestrate.itmatthewcroughanhttps://github.com/NixOS/nixpkgs/pull/32999502:05:48
@matthewcroughan:defenestrate.itmatthewcroughanah, I guess this is why?02:05:51
@matthewcroughan:defenestrate.itmatthewcroughan thanks Tristan Ross ! 02:05:55
@matthewcroughan:defenestrate.itmatthewcroughanor no, is this another issue?02:07:25
@matthewcroughan:defenestrate.itmatthewcroughanI guess we could just fix up the musl derivation to build without valgrind on llvm? 02:09:36
@matthewcroughan:defenestrate.itmatthewcroughan what do you think of making valgrind-light unavailable on llvm? Or should we avoid doing that and instead modify the mesa derivation so that mesa works on llvm platforms? Alyssa Ross K900 02:12:48
@matthewcroughan:defenestrate.itmatthewcroughan
  • (kde) https://hercules-ci.com/github/MatthewCroughan/nixos-musl/jobs/97
  • (cosmic) https://hercules-ci.com/github/MatthewCroughan/nixos-musl/jobs/99
  • (sway) https://hercules-ci.com/github/MatthewCroughan/nixos-musl/jobs/99
02:41:45
@matthewcroughan:defenestrate.itmatthewcroughanLet's see if they build 02:41:49
@matthewcroughan:defenestrate.itmatthewcroughanugh, cachix unreliability causing issues again 02:42:21
@matthewcroughan:defenestrate.itmatthewcroughan Domen Kožar: Do you know why that keeps happening? 02:42:27
@matthewcroughan:defenestrate.itmatthewcroughan

https://hercules-ci.com/accounts/github/MatthewCroughan/derivations/%2Fnix%2Fstore%2F061ya25qg8wv2gscgglgc4xdv76fwb4c-etc-alsa-conf.d-49-pipewire-modules.conf.drv/log?via-job=72acd78e-45d9-44f5-88ab-e59c1e684d9b for example it just does

ignoring exception during drv lookup in https://cache.nixos.org: error: path '/nix/store/061ya25qg8wv2gscgglgc4xdv76fwb4c-etc-alsa-conf.d-49-pipewire-modules.conf.drv' does not exist and cannot be created

02:43:06
@matthewcroughan:defenestrate.itmatthewcroughan *

https://hercules-ci.com/accounts/github/MatthewCroughan/derivations/%2Fnix%2Fstore%2F061ya25qg8wv2gscgglgc4xdv76fwb4c-etc-alsa-conf.d-49-pipewire-modules.conf.drv/log?via-job=72acd78e-45d9-44f5-88ab-e59c1e684d9b for example it just does

downloading 'https://matthewcroughan.cachix.org/061ya25qg8wv2gscgglgc4xdv76fwb4c.narinfo' ignoring exception during drv lookup in daemon: error: path '/nix/store/061ya25qg8wv2gscgglgc4xdv76fwb4c-etc-alsa-conf.d-49-pipewire-modules.conf.drv' does not exist and cannot be created

02:43:26
@k900:0upti.meK900 Mesa is already conditional on valgrind availability 03:23:39

Show newer messages


Back to Room ListRoom Version: 6