| 24 Aug 2025 |
tpw_rules | if you can give me a .nix to run i would be happy to | 19:23:10 |
dramforever | oh just qemu, pkgsCross.riscv64.qemu, pkgsCross.riscv64.qemu-user | 19:24:05 |
dramforever | feel free to replace with your favorite cross target that is not the same as your builder | 19:24:26 |
tpw_rules | do i need to do more than test that --version works | 19:24:33 |
dramforever | no need | 19:25:11 |
dramforever | 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 | for cross, i mean, there's a good chance the cross never gets there anyway | 19:26:04 |
dramforever | native qemu could use a --version | 19:26:23 |
tpw_rules | okay the native build works | 19:32:07 |
tpw_rules | of qemu | 19:32:22 |
tpw_rules | nix-build -A pkgsCross.aarch64-multiplatform.qemu-user builds and says 1.8.3 | 19:38:40 |
tpw_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 | 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 | also the cross built one runs using a native qemu-user to run it lol | 19:40:08 |
tpw_rules | pkgsCross.aarch64-multiplatform.buildPackages.qemu-user produces the same store path | 19:40:42 |
dramforever | if qemu depends on targetPlatform we have big with cross | 19:41:14 |
dramforever | * if qemu depends on targetPlatform we have
big problems with cross | 19:41:25 |
tpw_rules | oh what the heck i will try the full qemu | 19:42:20 |
tpw_rules | Artturin: if you would like to update your PR i will review it more thoroughly | 19:42:50 |
tpw_rules | don't quite know how but both built | 20:15:04 |
tpw_rules | and work under x86 emulation with a native qemu-user | 20:15:17 |
Artturin | https://gist.github.com/Artturin/e79f1fcf125ebb138c0012008e719533 | 21:41:45 |
Artturin | Red doesn't work, green does | 21:44:40 |
| 26 Aug 2025 |
| RichInOverdraft changed their display name from rich to RichInOverdraft. | 12:16:19 |
| 27 Aug 2025 |
| griff joined the room. | 14:51:57 |
| chrillefkr joined the room. | 21:46:11 |
| 28 Aug 2025 |
Grimmauld (any/all) | https://github.com/NixOS/nixpkgs/pull/432924#issuecomment-3232559996
can someone that knows cross/splicing things sanity-check this patch before i open a fixup PR? | 09:28:48 |
Grimmauld (any/all) | targetPlatform vs hostPlatform is still a little confusing to me. I believe this is the correct fix to remove pam from buildPackages (but not in host packages), but a second set of eyes would be nice | 09:30:12 |
Grimmauld (any/all) | the goal is to keep pam support when building linux cross, but remove it from buildPackages when building non-linux cross. It'll be removed from host packages using availableOn in the case of freebsd, but the python going into llvm pulls libuuid, which is in the compiler bootstrap, so targetPlatfrom checks seem appropriate to me here | 09:35:55 |
Grimmauld (any/all) | * the goal is to keep pam support when building linux cross, but remove it from buildPackages when building non-linux cross from linux. It'll be removed from host packages using availableOn in the case of freebsd, but the python going into llvm pulls libuuid, which is in the compiler bootstrap, so targetPlatfrom checks seem appropriate to me here | 09:36:05 |