!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

578 Members
126 Servers

Load older messages


SenderMessageTime
3 Apr 2026
@insipx:matrix.orginsipxalso curious, since i got almost all supported platforms xmtp platforms (android, musl, native linux/macos) cross-compiling, what it would take to get iOS cross compile working again in NixOS. as far as I understand it, iphone/ios cross compile has been broken for some time now, but i have a morbid curiosity to maybe pursue getting that working in nix. are there resources for how the current darwin compile to work, and does anyone have an estimate or gut feel on how much actual work there is to get an iphone compile working? Right now xmtp uses a really hacky way to compile to iphone via impurity/xcode that can be improved with compose xcodeenv, but i'm thinking of what it would take to get the official working iphone64 crossSystem working again19:44:11
@insipx:matrix.orginsipx* also curious, since i got almost all supported platforms xmtp platforms (android, musl, native linux/macos) cross-compiling, what it would take to get iOS cross compile working again in NixOS. as far as I understand it, iphone/ios cross compile has been broken for some time now, but i have a morbid curiosity about the iphone64 cross compile. are there resources for how the current darwin compile to work, and does anyone have an estimate or gut feel on how much actual work there is to get an iphone compile working? Right now xmtp uses a really hacky way to compile to iphone via impurity/xcode that can be improved with compose xcodeenv, but i'm thinking of what it would take to get the official working iphone64 crossSystem working again19:44:38
@insipx:matrix.orginsipx* also curious, since i got almost all supported platforms xmtp platforms (android, musl, native linux/macos) cross-compiling, what it would take to get iOS cross compile working again in NixOS. as far as I understand it, iphone/ios cross compile has been broken for some time now, but i have a morbid curiosity about the iphone64 cross compile. does anyone have an estimate or gut feel on how much actual work there is to get an iphone compile working? Right now xmtp uses a really hacky way to compile to iphone via impurity/xcode that can be improved with compose xcodeenv, but i'm thinking of what it would take to get the official working iphone64 crossSystem working again19:44:48
@insipx:matrix.orginsipx* also curious, since i got almost all supported platforms xmtp platforms (android, musl, native linux/macos) cross-compiling, what it would take to get iOS cross compile working again in NixOS. as far as I understand it, iphone/ios cross compile has been broken for some time now, but i have a morbid curiosity about the iphone64 cross compile. does anyone have an estimate or gut feel on how much actual work there is to get an iphone compile working? Right now xmtp uses a really hacky way to compile to iphone via impurity/xcode that can be improved with compose xcodeenv, but i'm thinking of what it would take to get the official working iphone64 crossSystem working again. if i ever have some free time i'd love to pursue getting that into nixpkgs19:45:20
@insipx:matrix.orginsipx* also curious, since i got almost all the supported systems by xmtp sdks (android, musl, native linux/macos) cross-compiling, what it would take to get iOS cross compile working again in NixOS. as far as I understand it, iphone/ios cross compile has been broken for some time now, but i have a morbid curiosity about the iphone64 cross compile. does anyone have an estimate or gut feel on how much actual work there is to get an iphone compile working? Right now xmtp uses a really hacky way to compile to iphone via impurity/xcode that can be improved with compose xcodeenv, but i'm thinking of what it would take to get the official working iphone64 crossSystem working again. if i ever have some free time i'd love to pursue getting that into nixpkgs19:45:59
@insipx:matrix.orginsipx* also curious, since i got almost all the supported systems by xmtp sdks (android, musl, native linux/macos) cross-compiling, what it would take to get iOS cross compile working again in NixOS. as far as I understand it, iphone/ios cross compile has been broken for some time now, but i have a morbid curiosity about the iphone64 cross compile. does anyone have an estimate or gut feel on how much actual work there is to get an iphone compile working? Right now xmtp uses a really hacky way to compile to iphone via impurity/xcode that can be improved with compose xcodeenv, but i'm thinking of what it would take to get the official working iphone64 crossSystem working again. if i ever have some free time i'd love to pursue getting that into nixpkgs After a quick trial it seems an iphone cross fails while building rt-compiler 19:48:25
@alexfmpe:matrix.orgalexfmpe
In reply to @insipx:matrix.org

also curious, since i got almost all the supported systems by xmtp sdks (android, musl, native linux/macos) cross-compiling, what it would take to get iOS cross compile working again in NixOS. as far as I understand it, iphone/ios cross compile has been broken for some time now, but i have a morbid curiosity about the iphone64 cross compile. does anyone have an estimate or gut feel on how much actual work there is to get an iphone compile working? Right now xmtp uses a really hacky way to compile to iphone via impurity/xcode that can be improved with compose xcodeenv, but i'm thinking of what it would take to get the official working iphone64 crossSystem working again. if i ever have some free time i'd love to pursue getting that into nixpkgs

After a quick trial it seems an iphone cross fails while building rt-compiler

I almost got around to that rabbit hole in a previous life/job.
There wasn't much consensus on how much one should build with nix vs apple toolchain.
21:25:19
@alexfmpe:matrix.orgalexfmpeIIRC step 1 was to package the ios sdk like the macos one is or something21:25:45
@alexfmpe:matrix.orgalexfmpehaskell.nix offers iOS cross by compiling natively on apple silicon then messing with the mach header21:26:57
@insipx:matrix.orginsipxinteresting, i'll probably take a stab at at least the first step. at least for my own project i'm crafting a custom ios stdenv based on xcode and it feels similar to what the nix darwin is doing for darwin builds already21:28:47
@insipx:matrix.orginsipx* interesting, i'll probably take a stab at at least the first step. at least for my own project i'm crafting a custom ios stdenv based on xcode and it feels similar to what the nix darwin is doing for darwin builds already but i could be totally wrong21:28:56
@insipx:matrix.orginsipx

There wasn't much consensus on how much one should build with nix vs apple toolchain.
where did those discussions take place previously? is there a github issue/pr/discussion of relevance

21:35:37
@insipx:matrix.orginsipx *

There wasn't much consensus on how much one should build with nix vs apple toolchain.

where did those discussions take place previously? is there a github issue/pr/discussion of relevance

21:35:43
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 (he/him) 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
@thefloweringash:matrix.orgthefloweringash joined the room.14:52:43
@milan:petabyte.devMilan (they/them) 🏳️‍⚧️ changed their profile picture.18:30:44
@maljub01:matrix.orgmaljub01 joined the room.20:05:19
@colemickens:matrix.orgcolemickens 🏳️‍🌈 joined the room.21:50:09
24 May 2021
@voyager:t2bot.ioMatrix Traveler (bot) joined the room.03:05:08
@rajivr:matrix.orgrajivr joined the room.03:35:42

Show newer messages


Back to Room ListRoom Version: 6