!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1195 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org196 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
13 Apr 2026
@niklaskorz:matrix.orgniklaskorzthe swift-build README states it's used in Xcode which answers your first question I guess09:56:39
@viraptor:tchncs.deviraptorOk, it does indeed do the things, I was looking in the wrong repo - it's effectively a plugin.10:51:20
@viraptor:tchncs.deviraptoractool is updated now, feel free to test. I'll get it in nixpkgs later10:52:06
@viraptor:tchncs.deviraptor Digging deeper - turns out it's not https://github.com/swiftlang/swift-build/blob/df624d19606034a214393ecab6baac937518746e/Plugins/run-xcodebuild/run-xcodebuild.swift#L45 it just calls out to xcodebuild through xcrun, so it still depends on Xcode 11:50:25
@niklaskorz:matrix.orgniklaskorzindeed, looks like xcodebuild does the project parsing and then forwards the information to swift-build in the PIF format described here: https://github.com/swiftlang/swift-build/blob/main/SwiftBuild.docc/Core/project-interchange-format.md12:06:59
@reckenrode:matrix.orgRandy Eckenrode I have used swbuild in a derivation to (try to) build an Xcode protect. 12:22:08
@reckenrode:matrix.orgRandy Eckenrode

https://github.com/swiftlang/swift-build/issues/43

That plugin appears to be for running xcodebuild with (your built) Swift Build service.

12:23:42
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/NixOS/nixpkgs/pull/477520#issuecomment-376454003812:25:44
@reckenrode:matrix.orgRandy EckenrodeIt failed due to missing yet another proprietary tool.12:25:56
@viraptor:tchncs.deviraptorThank you very much. The docs for that project are quite poor - I'm really happy you found more details already!12:30:20
@viraptor:tchncs.deviraptorHmmm... It's just processing a plistxml to generate some scaffolded interfaces. "How hard could that be" feeling is growing...12:38:37
@viraptor:tchncs.deviraptor * 12:39:10
@reckenrode:matrix.orgRandy EckenrodeI can’t make progress on the ICU issue until I resolve the issue with linking the 26.4 SDK using ld64.13:32:22
@ankarhem:matrix.internetfeno.menankarhemDo you know if there’s some workaround we can do locally for dotnet until it’s properly fixed?13:43:33
@toonn:matrix.orgtoonn Applying Randy's PR is probably the best workaround IMO. 13:47:24
@reckenrode:matrix.orgRandy EckenrodeThat’s probably the best approach right now.13:47:59
@reckenrode:matrix.orgRandy EckenrodeI can rebase my changes on master, but I won’t be able to do that until lunch. I’m currently on my staging/Swift branch.13:53:42
@niklaskorz:matrix.orgniklaskorz

I looked into the idea of merging the normal icu package's dylibs into one libicucore.dylib this morning, but:

  1. that requires rebuilding anyway because it has to be built with symbol renaming disabled for programs that expect libicucore.dylib (either that or dotnet has to be patched to not disable icu symbol renaming on macOS)
  2. with symbol renaming disabled, I ended up with a "SIGBUS 10" crash
15:35:35
@reckenrode:matrix.orgRandy EckenrodeSymbol renaming being disabled should be the default. How were you merging?15:36:53

Show newer messages


Back to Room ListRoom Version: 6