!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

580 Members
126 Servers

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


SenderMessageTime
21 Feb 2025
@eureka-cpu:matrix.orgeureka-cpu

https://github.com/LnL7/nix-darwin/issues/1192

https://github.com/formthefog/lasr/blob/main/flake.nix#L217
This is a project I was working on to create a generic debug VM to run a node for my team to test. It works on MacOS, opens up a Linux qemu instance.

18:53:57
@eureka-cpu:matrix.orgeureka-cpuKeep in mind the Linux builder is not actually cross compiling IIRC18:55:28
23 Feb 2025
@rhelmot:matrix.orgrhelmotIncredible success story: I got nodejs to build as linux -> freebsd cross by injecting some intermediate binaries from the native linux build. https://github.com/NixOS/nixpkgs/pull/38441303:02:20
@emilazy:matrix.orgemilythat's, uh, wow04:02:04
@rosscomputerguy:matrix.orgTristan RossIf testing is needed, I can test on Ampere lol.04:10:23
24 Feb 2025
@axman6:matrix.orgAxman6Is there a non-zero chance of being able to build a python app using pkgsCross.mingwW64? I'm running into issues early on with bash complaining it can't run as a pe executable (seems totally reasonable, but I'm not sure where it's decided it needs to do that) Or alternatively, any chance of being able to build python things for windows in some form of VM/wine/something05:30:23

Show newer messages


Back to Room ListRoom Version: 6