!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

579 Members
126 Servers

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


SenderMessageTime
19 Feb 2025
@artturin:matrix.orgArtturin* No but in some cases it might be possible to hook up stdenv.hostPlatform.emulator buildPackages somehow01:52:18
@artturin:matrix.orgArtturin* No but in some cases it might be possible to hook up `stdenv.hostPlatform.emulator buildPackages somehow`01:52:28
@artturin:matrix.orgArtturin* No but in some cases it might be possible to hook up `stdenv.hostPlatform.emulator buildPackages` somehow 01:52:42
@artturin:matrix.orgArtturin https://github.com/search?q=repo%3ANixOS%2Fnixpkgs+%2F%5C.emulator%2F&type=code 01:53:27
@axman6:matrix.orgAxman6Ok, that helped me find https://nix.dev/tutorials/cross-compilation.html#real-world-cross-compiling-of-a-hello-world-example too, thanks01:57:46
@axman6:matrix.orgAxman6now to figure out how to run x86_64 wine under some VM on aarch64-darwin 😂01:59:05
@artturin:matrix.orgArtturinIf you want a linux builder https://nixcademy.com/posts/macos-linux-builder/02:00:12
@axman6:matrix.orgAxman6That looks shockingly simple. Is it possible for the VM to share the host's /nix/store?02:06:46
@axman6:matrix.orgAxman6Oh actually, I assume remote builders will just do the build and pass back the results to the original build machine05:23:32
@axman6:matrix.orgAxman6Let me know if there's a better place to ask (#Nix on macOS maybe?), but would bit be possible to also have a x86_64-linux VM using this?05:27:38
@rosscomputerguy:matrix.orgTristan Ross
In reply to @axman6:matrix.org
Let me know if there's a better place to ask (#Nix on macOS maybe?), but would bit be possible to also have a x86_64-linux VM using this?
It technically should be, the arch shouldn't matter too much imo.
05:30:14
@sss:matrix.dark-alexandr.netsss 20:06:15
20 Feb 2025
@spacekookie:fairydust.spacekookie changed their profile picture.12:12:58

Show newer messages


Back to Room ListRoom Version: 6