!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

556 Members
119 Servers

Load older messages


SenderMessageTime
26 Sep 2025
@dramforever:matrix.orgdramforevercheck out https://github.com/NixOS/nixpkgs/pull/438621 but honestly idk how to fix it further06:59:18
@outfoxxed:outfoxxed.meoutfoxxed I see its $depHostOffset 07:30:21
@matthewcroughan:defenestrate.itmatthewcroughan
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:defenestrate.itmatthewcroughanOtherwise no, native11:43:29
@matthewcroughan:defenestrate.itmatthewcroughanI tried your branch it fails in the same way yeah11:43:51
@dramforever:matrix.orgdramforeveryes, it is cross in this sense12:33:22
@dramforever:matrix.orgdramforeverwhat are you compiling?12:33:30
@dramforever:matrix.orgdramforeveractually yeah maybe pkgsLLVM is more broken than #438621 could handle...12:34:29
@dramforever:matrix.orgdramforevernope12:43:55
@dramforever:matrix.orgdramforever pkgsLLVM.ncdu works on my branch 12:44:02
@dramforever:matrix.orgdramforeverScreenshot_20250926_204454.png
Download Screenshot_20250926_204454.png
12:45:04
@dramforever:matrix.orgdramforever 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:defenestrate.itmatthewcroughanis ncdu using zig somehow?12:45:22
@dramforever:matrix.orgdramforeveryes, ncdu is zig12:45:32
@matthewcroughan:defenestrate.itmatthewcroughandoes zig itself use its own hooks?12:45:41
@dramforever:matrix.orgdramforeveruses zig_0_1512:45:49
@dramforever:matrix.orgdramforeverit 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.hook12:46:21
@matthewcroughan:defenestrate.itmatthewcroughanThere's no way to do that for zig, because zig itself does not use its own hook?12:48:28
@matthewcroughan:defenestrate.itmatthewcroughan dramforever: I asked about it here, so maybe someone inside zig will know https://github.com/ziglang/zig/issues/25357 12:54:30
@matthewcroughan:defenestrate.itmatthewcroughanmm, for some reason audit tests fail on llvm/cross on staging14:23:53
@matthewcroughan:defenestrate.itmatthewcroughan* mm, for some reason audit tests fail on llvm/cross on staging-next14:23:55
@matthewcroughan:defenestrate.itmatthewcroughan
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:defenestrate.itmatthewcroughansame for diffutils.. hmm14:50:28
@matthewcroughan:defenestrate.itmatthewcroughanhttps://patchwork.yoctoproject.org/project/oe-core/patch/20250819010128.3519760-3-raj.khem@gmail.com/14:50:58
27 Sep 2025
@outfoxxed:outfoxxed.meoutfoxxedI 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:outfoxxed.meoutfoxxedimage.png
Download image.png
20:20:53
@outfoxxed:outfoxxed.meoutfoxxedimage.png
Download image.png
20:21:23
@outfoxxed:outfoxxed.meoutfoxxedIf we have multiple host offsets then the hook separates build/target packages, otherwise it doesn't20:21:57
@k900:0upti.meK900 I think the correct way to do Qt6 cross is to always have it be nativeBuildInputs 20:24:50
@k900:0upti.meK900And dispatch on $target20:24:58

Show newer messages


Back to Room ListRoom Version: 6