!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

577 Members
129 Servers

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


SenderMessageTime
13 Mar 2025
@ashwinmathi:matrix.orgAshwin Mathi joined the room.14:58:36
@rosssmyth:matrix.org@rosssmyth:matrix.orgWould it be possible to add a new default/example pkgsCross system that is basically the same as arm-embedded but with newlib-nano? My goal would be to get that GCC cached so that I could use a newer GCC since it seems that latest gcc-arm-embedded update (14) PR was denied. 18:55:20
@rosssmyth:matrix.org@rosssmyth:matrix.orgI don't know what would be involved beyond adding something to the examples file, but I would be willing to do it 19:01:07
15 Mar 2025
@implr:hackerspace.plimplr joined the room.17:07:38
@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

Show newer messages


Back to Room ListRoom Version: 6