!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
13 Apr 2026
@axel_w:matrix.orgaxwAre there any mdm services in nixpkgs that can be declared? So iOS devices can be managed with nix?08:45:32
@k900:0upti.meK900I don't think that's a thing08:55:07
@viraptor:tchncs.deviraptorHave you got an example of a project that needs it? I'm happy to add it09:17:13
@niklaskorz:matrix.orgniklaskorzGram uses SVG icons: https://codeberg.org/GramEditor/gram/src/branch/main/script/mac-icon-to-car09:18:05
@niklaskorz:matrix.orgniklaskorzhttps://codeberg.org/GramEditor/gram/src/branch/main/crates/gram/resources/AppIcon.icon09:18:23
@niklaskorz:matrix.orgniklaskorzI can fallback to the included PNG icons but the SVG-based one they use for their official distribution does look better 😄09:20:10
@viraptor:tchncs.deviraptorJust coming back to this to confirm - swift-build is used by xcodebuild normally, right? I'm seeing failures of xcbuild not understanding some of the .xcodeproj setup in swift projects and segfaulting - so we'd still have to fix that part of xcbuild? Or did you mean some clever workaround for this that already exists?09:34:58
@viraptor:tchncs.deviraptor No worries, I'll add the svg support 09:38:56
@niklaskorz:matrix.orgniklaskorzswift-build is basically an official open source reimplementation of xcodebuild if I understood correctly09:48:03
@niklaskorz:matrix.orgniklaskorzas opposed to the inofficial reimplementation of xcbuild that facebook has abandoned years ago09:48:14
@niklaskorz:matrix.orgniklaskorz* as opposed to the inofficial reimplementation that is xcbuild, which facebook has abandoned years ago09:48:38
@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