!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

580 Members
129 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
15 Mar 2025
@implr:hackerspace.plimplrI ran into https://github.com/NixOS/nixpkgs/issues/231537 while cross compiling from a x86 host to a rv64 target. I know it's fixed in unstable, but this makes me wonder about a more general problem: Shellcheck doesn't care what host arch it runs on. Theoretically, we could shellcheck the rv64 shell scripts with a host (x86) shellcheck, eliminating the need for a rv64 ghc. Is that even possible in nixpkgs?17:10:09
@implr:hackerspace.plimplror am i just missing something obvious17:10:14
@bitestring:matrix.orgbitestring Hi, any haskell.nix experts here? Could you please share a minimal flake.nix that can compile my Haskell library to Android aarch64? Documentation did not help at all. 17:10:48
@implr:hackerspace.plimplrnevermind, it is possible, i was just setting hostplatform/buildplatform wrong in colmena18:06:58
16 Mar 2025
@archercatneo:matrix.orgarchercatneo joined the room.15:30:01
17 Mar 2025
@rhelmot:matrix.orgrhelmotis qt cross just totally busted? I'm failing both aarch64-linux and x86_64-freebsd cross with errors related to multiple qtbases ending up in inputs03:22:00
@rhelmot:matrix.orgrhelmotI found https://github.com/NixOS/nixpkgs/pull/267311 but I don't parse how it would help in this case03:22:47
@rhelmot:matrix.orgrhelmot * is qt cross just totally busted? I'm failing both aarch64-linux and x86_64-freebsd cross for qt5.qtsvg with errors related to multiple qtbases ending up in inputs 03:23:30
@rhelmot:matrix.orgrhelmotcommenting out the propagatedBuildInputs/depsTargetTargetPropagated assignment on qmake-hook and that seems to fix some things but the ramifications... unknown lol. will run nixpkgs-review soon03:51:11
@artturin:matrix.orgArtturin
In reply to @rhelmot:matrix.org
is qt cross just totally busted? I'm failing both aarch64-linux and x86_64-freebsd cross for qt5.qtsvg with errors related to multiple qtbases ending up in inputs
Yup and there's a few pr which may fix it
03:59:02
@artturin:matrix.orgArtturin Use the cross label and in:title qt5 03:59:24
@rosscomputerguy:matrix.orgTristan RossYes, I've been wanting the issue fixed so I can get Steam "built" crossly onto aarch64 so I can do gaming on Ampere lol. It's still been broken.04:04:22

Show newer messages


Back to Room ListRoom Version: 6