!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

570 Members
124 Servers

Load older messages


SenderMessageTime
24 Aug 2025
@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
@tpw_rules:matrix.orgtpw_rules pkgsCross.aarch64-multiplatform.buildPackages.qemu-user produces the same store path 19:40:42
@dramforever:matrix.orgdramforever if qemu depends on targetPlatform we have big with cross 19:41:14
@dramforever:matrix.orgdramforever* if qemu depends on targetPlatform we have big problems with cross19:41:25
@tpw_rules:matrix.orgtpw_rulesoh what the heck i will try the full qemu19:42:20
@tpw_rules:matrix.orgtpw_rules Artturin: if you would like to update your PR i will review it more thoroughly 19:42:50
@tpw_rules:matrix.orgtpw_rulesdon't quite know how but both built20:15:04
@tpw_rules:matrix.orgtpw_rules and work under x86 emulation with a native qemu-user 20:15:17
@artturin:matrix.orgArtturinhttps://gist.github.com/Artturin/e79f1fcf125ebb138c0012008e71953321:41:45
@artturin:matrix.orgArtturinRed doesn't work, green does21:44:40
26 Aug 2025
@corridor4572:matrix.orgRichInOverdraft changed their display name from rich to RichInOverdraft.12:16:19
27 Aug 2025
@griff79:matrix.orggriff joined the room.14:51:57

Show newer messages


Back to Room ListRoom Version: 6