!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

518 Members
108 Servers

Load older messages


SenderMessageTime
24 Aug 2025
@dramforever:matrix.orgdramforeverwhatever, already sent the new patch as new request changes anyway19:06:54
@tpw_rules:matrix.orgtpw_rulesdid you test artturin's reproducer with your new patch?19:09:30
@dramforever:matrix.orgdramforever

the repl thing? yes

nix-repl> lib.elemAt pkgsCross.aarch64-multiplatform.qemu.nativeBuildInputs 8
«derivation /nix/store/hjjpr0ckq3gs0d5qjmgg1bs0kid6ngh5-python3-3.13.6.drv»
19:10:33
@dramforever:matrix.orgdramforeveri mean it was correct anyway19:10:37
@tpw_rules:matrix.orgtpw_rulescool19:10:40
@dramforever:matrix.orgdramforeveri just reverted the wrap patch and refixed it basically19:10:53
@dramforever:matrix.orgdramforeverif anyone feels like testing cross qemu-user please do, i don't feel like running my slab-shaped space heater for the next day19:14:07
@dramforever:matrix.orgdramforeveractually19:16:03
@dramforever:matrix.orgdramforeveris that post-unsplicing?19:16:15
@dramforever:matrix.orgdramforever also shouldn't have tested pkgsCross.aarch64-multiplatform on my arm machine but pkgsCross.riscv64 is still correct 19:17:25
@dramforever:matrix.orgdramforever genuinely tempting to change that comment to If you want to change this ping dramforever 19:19:19
@dramforever:matrix.orgdramforever * genuinely tempting to change that comment to If you want to change this, ping dramforever 19:19:24
@tpw_rules:matrix.orgtpw_ruleswhat do you mean by cross here? was my original case native?19:21:49
@dramforever:matrix.orgdramforeveryes, it was a native qemu-user19:22:14
@dramforever:matrix.orgdramforeverfc-cache was using pkgsBuild*.qemu-user i'm fairly sure19:22:52
@tpw_rules:matrix.orgtpw_rulesyes19:23:04
@tpw_rules:matrix.orgtpw_rulesif you can give me a .nix to run i would be happy to19:23:10
@dramforever:matrix.orgdramforever oh just qemu, pkgsCross.riscv64.qemu, pkgsCross.riscv64.qemu-user 19:24:05
@dramforever:matrix.orgdramforeverfeel free to replace with your favorite cross target that is not the same as your builder19:24:26
@tpw_rules:matrix.orgtpw_rules do i need to do more than test that --version works 19:24:33
@dramforever:matrix.orgdramforeverno need19:25:11
@dramforever:matrix.orgdramforever if you don't feel like it you don't even need to complete the build, just get to the point where it says Version: 1.8.3 or Version: 1.5.0 19:25:45
@dramforever:matrix.orgdramforeverfor cross, i mean, there's a good chance the cross never gets there anyway19:26:04
@dramforever:matrix.orgdramforever native qemu could use a --version 19:26:23
@tpw_rules:matrix.orgtpw_rulesokay the native build works19:32:07
@tpw_rules:matrix.orgtpw_rules of qemu 19:32:22
@tpw_rules:matrix.orgtpw_rules nix-build -A pkgsCross.aarch64-multiplatform.qemu-user builds and says 1.8.3 19:38:40
@tpw_rules:matrix.orgtpw_rules currently staring at the 300-derivation long dry-run of non-user and wondering if i want to shave that yak 19:39:01
@artturin:matrix.orgArtturin
In reply to @tpw_rules:matrix.org
nix-build -A pkgsCross.aarch64-multiplatform.qemu-user builds and says 1.8.3
How about buildPackages.qemu-user which is what the emulator uses?
19:39:28
@tpw_rules:matrix.orgtpw_rulesalso the cross built one runs using a native qemu-user to run it lol19:40:08

Show newer messages


Back to Room ListRoom Version: 6