!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

581 Members
129 Servers

Load older messages


SenderMessageTime
10 Apr 2026
@siraben:matrix.orgsirabengetting cosmopolitan as a cross compilation target working14:46:27
@siraben:matrix.orgsirabenwas about to build a fat binary on x86 linux and execute it on aarch64 darwin14:47:02
@winter:catgirl.cloudWinterhow invasive are the needed changes out of curiosity14:48:16
@siraben:matrix.orgsiraben
$ uname -mpsrv; sha256sum ./hello; ./hello     
Linux 6.18.9 #1-NixOS SMP PREEMPT_DYNAMIC Fri Feb  6 15:57:45 UTC 2026 x86_64 unknown
60e678addbe03a751c257e02019bb6c85636d7b6d6cc85c6f85e7fe0ef515dbf  ./hello
Hello, world!
$ uname -mpsrv; sha256sum ./hello; ./hello                  
Darwin 25.4.0 Darwin Kernel Version 25.4.0: Thu Mar 19 19:32:59 PDT 2026; root:xnu-12377.101.15~1/RELEASE_ARM64_T8122 arm64 arm
60e678addbe03a751c257e02019bb6c85636d7b6d6cc85c6f85e7fe0ef515dbf  ./hello
Hello, world!
16:31:49
@siraben:matrix.orgsiraben

lol

$ file hello
hello: DOS/MBR boot sector; partition 1 : ID=0x7f, active, start-CHS (0x0,0,1), end-CHS (0x3ff,255,63), startsector 0, 4294967295 sectors
16:32:56
@siraben:matrix.orgsirabenworks: hello, tree, jq, lua, less, nano, sqlite, curl, bc, gnused, gnugrep16:55:47
@siraben:matrix.orgsiraben* works: hello, tree, jq, lua, less, nano, sqlite, curl (http only), bc, gnused, gnugrep16:56:02
@siraben:matrix.orgsirabentrying to minimize the patches needed16:59:12
@siraben:matrix.orgsirabenhttps://github.com/NixOS/nixpkgs/compare/master...siraben:nixpkgs:siraben/cosmopkgs22:13:41
@siraben:matrix.orgsirabenwould require too many changes to variants.nix22:13:55
@siraben:matrix.orgsirabena minimal version could be upstreamed but barely anything would build22:14:10
13 Apr 2026
@rasmata:matrix.org@rasmata:matrix.org joined the room.01:10:18
@rasmata:matrix.org@rasmata:matrix.org left the room.01:10:25
@alesya-h:nixos.devAlesya changed their display name from Alesya Huzik to Alesya.01:48:16
14 Apr 2026
@siraben:matrix.orgsirabenhttps://github.com/NixOS/nixpkgs/pull/510065 SuperH cross compilation support20:19:59
15 Apr 2026
@siraben:matrix.orgsirabenhttps://github.com/NixOS/nixpkgs/pull/510160 Argonaut RISC Core (ARC) cross compilation support06:31:15
@98765abc:mozilla.org@98765abc:mozilla.org left the room.06:50:12
17 Apr 2026
@c4lliope:matrix.orgc4lliope set a profile picture.08:36:50
@c4lliope:matrix.orgc4lliope changed their profile picture.08:41:45
23 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".12:31:03
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".12:31:03
@grahamc:nixos.org@grahamc:nixos.org invited @qyliss:fairydust.spaceAlyssa Ross.12:31:18
@qyliss:fairydust.spaceAlyssa Ross joined the room.13:21:04
@symphorien:xlumurb.eusymphorien joined the room.13:29:22
@joe:monoid.aljoe joined the room.13:29:32
@cleverca22:matrix.orgcleverca22 joined the room.13:29:44
@andi:kack.itandi- joined the room.13:36:08
@sternenseemann:systemli.orgsterni joined the room.13:39:12
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.14:52:21
@milan:petabyte.devMilan (they/them) 🏳️‍⚧️ joined the room.14:52:24

Show newer messages


Back to Room ListRoom Version: 6