!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

580 Members
126 Servers

Load older messages


SenderMessageTime
3 Apr 2026
@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
@alexfmpe:matrix.orgalexfmpenix on macos room couple years ago I think22:54:45
@alexfmpe:matrix.orgalexfmpethere is https://nixos.org/manual/nixpkgs/stable/#ios but I think it's bitrotted into oblivion22:55:43
@emilazy:matrix.orgemilyit was a lot less than two years ago :D23:03:54
@emilazy:matrix.orgemily but yes, making apple-sdk support iOS would be the thing to do there 23:04:09
@emilazy:matrix.orgemilyApp Store requires you to use Apple's toolchain nominally23:04:17
@emilazy:matrix.orgemilybut it'd be a lot less painful to support our toolchain23:04:26
@insipx:matrix.orginsipxoh interesting. by "your toolchain" do you mean something that is not xcodeenv or the impure xcode symlinks nix is creating ? So something like a nix stdenv clang/llvm?23:57:30
@insipx:matrix.orginsipx* oh interesting. by "our toolchain" do you mean something that is not xcodeenv or the impure xcode symlinks nix is creating ? So something like a nix stdenv clang/llvm?23:57:38
4 Apr 2026
@emilazy:matrix.orgemilyyes00:17:16
@emilazy:matrix.orgemilyiOS should be "just another triple" for cross compilation for the most part. though I think actually getting the SDK is going to be slightly annoying since it can't be downloaded from the software update command line tools like we do for the macOS one I guess. but you can just pull the source out of our Xcode package that requires you to manually inject it into the store or w/e00:18:26
@emilazy:matrix.orgemilywhen you start caring about the letter of App Store requirements is when it gets tricky00:18:40
@reckenrode:matrix.orgRandy Eckenrode The apple-sdk package would have to be modified to source frameworks from Xcode because iOS stuff isn’t included in the SDK we use. 01:09:19
@reckenrode:matrix.orgRandy Eckenrode(Source them for iOS.)01:10:10
@reckenrode:matrix.orgRandy EckenrodeI assume “our toolchain” as in the upstream LLVM we build. It can be tricky because if we are ahead of Apple’s LLVM fork, symbols from upstream LLVM can be flagged as from a beta Xcode release and get your app rejected. (This is less risky due to using the system libc++, but it could possibly happen due to something like compiler-rt I guess.)01:11:56
@insipx:matrix.orginsipxRedacted or Malformed Event01:16:39
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

Show newer messages


Back to Room ListRoom Version: 6