!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

573 Members
125 Servers

Load older messages


SenderMessageTime
5 Apr 2026
@ritiek:matrix.orgritiek changed their profile picture.01:18:05
@slushee:crabsin.spaceSlushee left the room.19:14:56
6 Apr 2026
@insipx:matrix.orginsipxRedacted or Malformed Event15:21:54
@insipx:matrix.orginsipx * alexfmpe: i'm not quite sure how but i screwed up the pr diff with jj while trying to push up the comment. i've fixed it on my fork https://github.com/insipx/nixpkgs/commit/32d5424a4af4ac6f6177ffb291066cb18ff4e36f if you don't mind reopening that PR. it seems it autoclosed once it saw the insane amount of files touched, the pr: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+author%3Ainsipx+is%3Aclosed 15:22:28
@insipx:matrix.orginsipx * alexfmpe: i'm not quite sure how but i screwed up the pr diff with jj while trying to push up the comment. i've fixed it on my fork https://github.com/insipx/nixpkgs/commit/32d5424a4af4ac6f6177ffb291066cb18ff4e36f if you don't mind reopening that PR. it seems it autoclosed once it saw the insane amount of files touched, the pr: https://github.com/NixOS/nixpkgs/pull/505820 15:22:43
@insipx:matrix.orginsipx* ~ i'm not quite sure how but i screwed up the pr diff with jj while trying to push up the comment. i've fixed it on my fork https://github.com/insipx/nixpkgs/commit/32d5424a4af4ac6f6177ffb291066cb18ff4e36f if you don't mind reopening that PR. it seems it autoclosed once it saw the insane amount of files touched, the pr: https://github.com/NixOS/nixpkgs/pull/505820~15:24:41
@alexfmpe:matrix.orgalexfmpe insipx: I could in theory but the re-open PR button is blocked now due to the new PR from the same branch 15:34:15
@insipx:matrix.orginsipxRedacted or Malformed Event23:38:39
7 Apr 2026
@eymeric:onyx.ovhEymeric joined the room.12:50:03
@insipx:matrix.orginsipxScreenshot 2026-04-07 at 7.08.13 PM.png
Download Screenshot 2026-04-07 at 7.08.13 PM.png
23:09:11
@insipx:matrix.orginsipx

🤞so far i got compiler-rt working for iOS target, tbd if this hello build finishes and whether it translates to stuff i actually need it for

as far as useiOSPrebuilt goes, that's part of the build in sdk-pkgs that recurses infinitely b/c of xcode/apple-sdk. i'm assuming usePrebuilt means use the clang that's built with xcode rather than building it ourselves right? is it ok to re-use the xcode in nixpkgs there? I'm not sure how else to avoid the recursion in that section

23:11:40
@insipx:matrix.orginsipx *

🤞so far i got compiler-rt working for iOS target, tbd if this hello build finishes and whether it translates to stuff i actually need it for

as far as useiOSPrebuilt goes, that's part of the build in sdk-pkgs that recurses infinitely b/c of xcode/apple-sdk. i'm assuming usePrebuilt means use the clang that's built with xcode rather than building clang with nixpkgs llvm right? is it ok to re-use the xcode in nixpkgs there? I'm not sure how else to avoid the recursion in that section

23:12:16
9 Apr 2026
@flashonfire:lithium.ovhGuillaume joined the room.10:20:23
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

Show newer messages


Back to Room ListRoom Version: 6