| 8 Oct 2025 |
samasaur | needed to set -DSWIFT_ENABLE_EXPERIMENTAL_CXX_INTEROP=ON | 08:18:08 |
samasaur | I remember seeing this originally but I didn't touch it because interop was working in 5.8 without it | 08:18:35 |
samasaur | i'm watching this cxx-interop-test build finish on linux and then I am going to sleep like i said i would an hour ago. then tomorrow I'll rebase my PR on top of master and do another build on linux and darwin. if those work the PR will be ready to go! | 08:35:45 |
| shlevy joined the room. | 17:53:05 |
| 9 Oct 2025 |
samasaur | okay, there was an issue with libdispatch on linux after rebasing, but it had already been fixed upstream so I just had to apply the patch. everything in swiftPackages now builds on both darwin and linux | 02:22:40 |
samasaur | it did occur to me that macros were introduced in 5.9 so i should probably add a test for that... | 02:23:12 |
samasaur | mpv builds, dotnet does not, but I think that's a clang 21 issue. see https://github.com/NixOS/nixpkgs/pull/449614 | 05:14:37 |
| @nullcube:matrix.org left the room. | 10:38:23 |
Randy Eckenrode | PRs in order of importance for 25.11.
SDK update: https://github.com/NixOS/nixpkgs/pull/447364
Enforce availability checks: https://github.com/NixOS/nixpkgs/pull/445119
libc++ ergonomics: https://github.com/NixOS/nixpkgs/pull/445095
| 11:09:52 |
niklaskorz | Could probably drop the explicit SDK in zed-editor too, I don't think it explicitly needs SDK 15, in retrospect | 11:33:44 |
niklaskorz | Will test that theory in a moment | 11:33:51 |
Randy Eckenrode | I only looked at packages with 14.4 or older used explicitly. | 11:34:43 |
niklaskorz | At least the min version hook in zed-editor should be removed though | 11:35:00 |
Randy Eckenrode | Building all of those was painful due to various stages of breakage. | 11:35:06 |
niklaskorz | I see, I can also do it later in a separate PR, no worries | 11:35:33 |
Randy Eckenrode | I didn’t think to grep just for the hook, but that can be done in a follow up since it’s non-breaking. | 11:35:51 |
Nadia | Think I found a small bug in nixpkgs's xcrun? xcrun --show-sdk-platform-version returns an empty line rather than the actual SDK version like Apple's xcrun would | 14:06:51 |
Nadia | ares uses this for SDK version detection so I have to work around it in a patch | 14:07:42 |
Randy Eckenrode | Are you on 25.05 or unstable? | 14:34:41 |
Nadia | master as I was doing a package update | 14:37:05 |
Randy Eckenrode | Are you able to test on staging-next? I added a bunch of missing properties to the SDK’s Info.plist, but it hasn’t reached master yet. | 14:40:48 |
Nadia | what's the correct way to get a shell with nixpkgs's SDK outside the context of a package using it? | 14:50:59 |
K900 | nix-shell -p should do it I think? | 14:51:37 |
K900 | Given the SDKs are part of stdenv now | 14:51:42 |
Randy Eckenrode | Set SDKROOT to apple-sdk.sdkroot. | 14:54:25 |
Randy Eckenrode | * Set SDKROOT to apple-sdk.sdkroot. | 14:54:43 |
Nadia | doesn't seem to be fixed | 14:59:13 |
Randy Eckenrode | 😕 | 14:59:32 |
| jasonxue joined the room. | 15:09:39 |
jasonxue | I need help | 15:10:08 |