!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

582 Members
126 Servers

Load older messages


SenderMessageTime
24 Feb 2026
@alexfmpe:matrix.orgalexfmpe"update" ?12:20:12
@alexfmpe:matrix.orgalexfmpewait a second12:21:49
@crazychaoz:matrix.orgcrazychaoz i currently committed the "working" state, so you'll need a nix flake update to get the broken state 12:22:13
@crazychaoz:matrix.orgcrazychaozor should i publish a broken branch ?12:23:03
@alexfmpe:matrix.orgalexfmpeI mean, if you want me to reproduce, then yeah you should give me your exact flake.lock12:24:02
@alexfmpe:matrix.orgalexfmpe or I might nix flake update into a different state 12:24:23
@alexfmpe:matrix.orgalexfmpeI really don't get why flakes want flake.nix to be non-reproducible12:24:45
@crazychaoz:matrix.orgcrazychaozack; https://github.com/CrazyChaoz/backtor/tree/broken-windows12:30:05
@alexfmpe:matrix.orgalexfmpe what do I run?
nix build .\#packages.aarch64-darwin.windows
12:38:17
@alexfmpe:matrix.orgalexfmpe * what do I run?
nix build .\#packages.aarch64-darwin.windows ?
12:38:20
@crazychaoz:matrix.orgcrazychaoz.#windows should suffice12:38:45
@alexfmpe:matrix.orgalexfmpe

these 399 derivations will be built:

12:41:46
@alexfmpe:matrix.orgalexfmpeouch12:41:51
@alexfmpe:matrix.orgalexfmpeoh, it's mostly cargo packages12:42:07
@crazychaoz:matrix.orgcrazychaozsry >.<12:42:33
@alexfmpe:matrix.orgalexfmpethat's fine, I just had assumed I was going to be gcc/clang or something from the build count 12:43:40
@alexfmpe:matrix.orgalexfmpe "will be built" includes /nix/store/nmdiyb745sphcs3x0c8nnx6r82wy6mkn-pthreads-w32-x86_64-w64-mingw32-2.9.1.drv 12:44:18
@alexfmpe:matrix.orgalexfmpewhich built just fine individually12:44:29
@alexfmpe:matrix.orgalexfmpewhich built furiously quick, some 300+ in a minute12:47:10
@crazychaoz:matrix.orgcrazychaoztons of caching12:47:55
@crazychaoz:matrix.orgcrazychaozthe individual drv are just the downloaded sources12:48:42
@alexfmpe:matrix.orgalexfmpe that explains why backtor-deps is doing what looks like a normal cargo build 12:49:02
@alexfmpe:matrix.orgalexfmpewell, build finished just fine12:49:26
@crazychaoz:matrix.orgcrazychaozbut the pthreads already went through?12:49:35
@crazychaoz:matrix.orgcrazychaozalright12:49:46
@crazychaoz:matrix.orgcrazychaozmy system is cursed12:49:51
@alexfmpe:matrix.orgalexfmpe yeah when I saw it in dry-run, I individually called nix-build on it 12:49:52
@alexfmpe:matrix.orgalexfmpe

don't actually have wine here to run, but seems fine

$ tree result
result
└── bin
    └── backtor.exe

$ file result/bin/backtor.exe
result/bin/backtor.exe: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows
12:50:22
@alexfmpe:matrix.orgalexfmpecould be broken on linux, I can test tomorrow or so12:50:49
@crazychaoz:matrix.orgcrazychaozthanks for the invested time ^^12:51:45

Show newer messages


Back to Room ListRoom Version: 6