| 26 Sep 2025 |
dramforever | are you cross compiling some zig stuff | 06:57:48 |
dramforever | zig cross is busted | 06:57:54 |
outfoxxed | * I'm trying to fix the Qt6 hook so cross compilation works. Could someone explain how to add an env hook that catches only buildInputs?
I've tried various versions of addEnvHooks as well as the env* arrays, and the closest I've gotten is envHostTargetHooks, which contains buildInputs but also nativeBuildInputs, which I wouldn't guess would contain those by the name. (I was assuming I wanted envHostHostHooks which contains nativeBuildInputs instead)
My goal here is to add only buildInputs to the qt library search paths, because otherwise it will catch libraries pulled in by the build environment as well and link against the wrong thing | 06:58:53 |
dramforever | check out https://github.com/NixOS/nixpkgs/pull/438621 but honestly idk how to fix it further | 06:59:18 |
outfoxxed | I see its $depHostOffset | 07:30:21 |
matthewcroughan | In reply to @dramforever:matrix.org check out https://github.com/NixOS/nixpkgs/pull/438621 but honestly idk how to fix it further Is pkgsLLVM cross? Then yes | 11:43:11 |
matthewcroughan | Otherwise no, native | 11:43:29 |
matthewcroughan | I tried your branch it fails in the same way yeah | 11:43:51 |
dramforever | yes, it is cross in this sense | 12:33:22 |
dramforever | what are you compiling? | 12:33:30 |
dramforever | actually yeah maybe pkgsLLVM is more broken than #438621 could handle... | 12:34:29 |
dramforever | nope | 12:43:55 |
dramforever | pkgsLLVM.ncdu works on my branch | 12:44:02 |
dramforever |  Download Screenshot_20250926_204454.png | 12:45:04 |
dramforever | matthewcroughan: did you do this? i didn't do that to everything on my branch because i didn't feel like fixing everything yet | 12:45:20 |
matthewcroughan | is ncdu using zig somehow? | 12:45:22 |
dramforever | yes, ncdu is zig | 12:45:32 |
matthewcroughan | does zig itself use its own hooks? | 12:45:41 |
dramforever | uses zig_0_15 | 12:45:49 |
dramforever | it uses zig_0_15.hook, so needs to be either changed to pkgsBuildHost.zig_0_15.hook, or i'd have to splice zig_0_15.hook | 12:46:21 |
matthewcroughan | There's no way to do that for zig, because zig itself does not use its own hook? | 12:48:28 |
matthewcroughan | dramforever: I asked about it here, so maybe someone inside zig will know https://github.com/ziglang/zig/issues/25357 | 12:54:30 |
matthewcroughan | mm, for some reason audit tests fail on llvm/cross on staging | 14:23:53 |
matthewcroughan | * mm, for some reason audit tests fail on llvm/cross on staging-next | 14:23:55 |
matthewcroughan | diffutils-aarch64-linux> .. contents:: :depth: 2
diffutils-aarch64-linux>
diffutils-aarch64-linux> FAIL: test-c32ispunct.sh
diffutils-aarch64-linux> ========================
diffutils-aarch64-linux>
diffutils-aarch64-linux> test-c32ispunct.c:261: assertion 'is == 0' failed
diffutils-aarch64-linux> Aborted (core dumped)
diffutils-aarch64-linux> FAIL test-c32ispunct.sh (exit status: 1)
| 14:50:25 |
matthewcroughan | same for diffutils.. hmm | 14:50:28 |
matthewcroughan | https://patchwork.yoctoproject.org/project/oe-core/patch/20250819010128.3519760-3-raj.khem@gmail.com/ | 14:50:58 |
| 27 Sep 2025 |
outfoxxed | I feel like this is wrong (it does work) but I don't know how I'm supposed to deal with it: | 20:20:52 |
outfoxxed |  Download image.png | 20:20:53 |
outfoxxed |  Download image.png | 20:21:23 |