!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

544 Members
114 Servers

Load older messages


SenderMessageTime
1 Dec 2025
@k900:0upti.meK900Anyway, the NDK does not in fact have aa64 host tools18:40:43
@k900:0upti.meK900So yes18:40:50
@alexfmpe:matrix.orgalexfmperight, I'm just clarifying where 'darwin' fits in18:41:00
@emilazy:matrix.orgemilyno AArch64 surprises me. you can't do Android dev on AArch64 Chromebooks?18:52:47
@k900:0upti.meK900You can't even run an IDE on those18:55:46
@k900:0upti.meK900Can you18:55:49
@emilazy:matrix.orgemilysure you can20:05:35
@emilazy:matrix.orgemilythey have built-in Linux VMs with full graphical Wayland app support20:05:42
@emilazy:matrix.orgemilyAndroid Studio is explicitly supported on the Intel ones at least20:05:50
@emilazy:matrix.orgemilyno idea about the ARM ones but it'd surprise me if not20:05:57
2 Dec 2025
@hsngrmpf:matrix.orgDavHau Occasionally I encounter cross packages which simply compile binaries for the wrong platform.
Is there a hook in nixpkgs that I can use to check if all binaries in $out/bin are for the correct platform?
06:43:18
@k900:0upti.meK900I don't think so, but it would be nice to have one06:49:49
@hsngrmpf:matrix.orgDavHaudone: https://github.com/NixOS/nixpkgs/pull/46718316:04:09
@k900:0upti.meK900I wonder how much it'll suck to just add it by default16:08:43
@hexa:lossy.networkhexacould this work with python3Minimal?16:10:25
@hsngrmpf:matrix.orgDavHauLet's add it by default later. I would like to make it available at all for now. And yeah, good point, it should use python3Minimal16:11:49
@hexa:lossy.networkhexaalso not sure how fancy we want to go, but couldn't the hook be null in non-cross situations16:23:54
@hexa:lossy.networkhexathat way we wouldn't have to guard it on every use16:24:14
@hsngrmpf:matrix.orgDavHauI think it would be better to go the route to always include it by default. even in non-cross scenarios. the check is very cheap.16:25:21
@hexa:lossy.networkhexayeah, eventually21:44:33
@hexa:lossy.networkhexabut until then it would ease adoption21:44:42
3 Dec 2025
@hsngrmpf:matrix.orgDavHauI'm not sure, because maybe someone wants to use it in a non-cross scenario, and then they cannot, because it is null.03:42:34
@xin:xiny.lixin joined the room.19:29:39
4 Dec 2025
@i-am-logger:matrix.orgIdo Samuelson joined the room.01:45:01
@onur-ozkan:matrix.orgonur-ozkan joined the room.04:20:24
@hsngrmpf:matrix.orgDavHau How could we prevent contributers from including setuptools-rust as a native build input and force the usage of the setuptoolsRustBuildHook instead?
I've been seeing this multiple times already and it always breaks cross.
06:07:26
@hsngrmpf:matrix.orgDavHau The checkBinaryArchHook unfortunately isn't gonna cut it because we don't cross build in CI the trigger the failure. 06:08:07
@hsngrmpf:matrix.orgDavHau Or would it make sense to improve setuptools-rust, so it pulls in the hook automatically? 06:11:35
@symphorien:xlumurb.eusymphorienadd the hook as propagated build input on setuptools-rust ?07:11:40
@hsngrmpf:matrix.orgDavHauI guess07:36:55

There are no newer messages yet.


Back to Room ListRoom Version: 6