!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
26 Jun 2026
@reckenrode:matrix.orgRandy EckenrodeOh, right. The test suite.11:11:32
@emilazy:matrix.orgemilyyou disabled that11:15:20
@emilazy:matrix.orgemilybut the dependency isn't conditional11:15:26
@emilazy:matrix.orgemilyI believe it's being used for the build system now or something11:15:39
27 Jun 2026
@dinckelman:matrix.orgdinckelman joined the room.11:57:01
@reckenrode:matrix.orgRandy EckenrodeIs GCC 15.3 known broken on Darwin? I’m getting GFortran build failures on my Swift branch.12:18:41
@sempiternal-aurora:matrix.orgMyriaGCC 15.3 was reverted because it didn't bring in the new iains patches12:19:10
@sempiternal-aurora:matrix.orgMyriaIt's got a different pr that will fix it, but that's in the queue12:19:40
@reckenrode:matrix.orgRandy EckenrodeI must have rebased on staging before the revert.12:24:45
@emilazy:matrix.orgemily Randy Eckenrode: thank you again for mentioning the 1Password native autofill support thing 14:15:14
@emilazy:matrix.orgemilylife-changing14:15:18
@emilazy:matrix.orgemilyI used to fight with that browser extension multiple times every day14:15:24
@emilazy:matrix.orgemilyit's in the nightlies at least, not sure if it's made its way to stable yet14:31:59
@emilazy:matrix.orgemilysupports passkeys too14:32:02
@reckenrode:matrix.orgRandy EckenrodeIt’s in the beta channel now. If you’re using the 1Password packages with nix-darwin, switch your channel to the beta one.15:02:32
@reckenrode:matrix.orgRandy EckenrodeSo … we have a problem. Some frameworks use external macro implementations. Those are only shipped with Xcode. They’re not available in the public Swift toolchain nor in the SDK.15:08:15
@emilazy:matrix.orgemilywhat kind of file?15:25:52
@reckenrode:matrix.orgRandy EckenrodeFoundationModels uses an external macro implementation in a dylib.15:32:20
@reckenrode:matrix.orgRandy Eckenrode I ran into it when building handy with the updated Swift toolchain. It uses the 26.5 SDK, which has the framework but not the macros dylib. 15:32:54
@reckenrode:matrix.orgRandy Eckenrode I’m overriding the check in handy’s build.rs, but this could be a problem in the future. 15:33:39
@reckenrode:matrix.orgRandy Eckenrode

These are the macros shipped with Xcode. The only macros distributed upstream are Swift and Observation. We also have Swift Testing macros that we build from that project.

libAppIntentsMacros.dylib*  libFoundationMacros.dylib*        libMMIOMacros.dylib*         libPreviewsMacros.dylib*   libSwiftMacros.dylib*
libFinanceMacros.dylib*     libFoundationModelsMacros.dylib*  libMMIOMacros.tbd            libSwiftDataMacros.dylib*  libSwiftUIMacros.dylib*
libFinanceMacros.tbd        libFoundationModelsMacros.tbd     libObservationMacros.dylib*  libSwiftDataMacros.tbd     libTipKitMacros.dylib*
15:40:01
@reckenrode:matrix.orgRandy Eckenrode For example, SwiftUI in Xcode 27 replaced its State property wrapper with a macro. It’s likely we will not be able to build SwiftUI applications with the 27.x SDK. 15:42:32
@emilazy:matrix.orgemilyis there anything that might correspond to their source code in the SDK?15:43:49
@reckenrode:matrix.orgRandy EckenrodeNot as far as I can tell.15:45:04
@reckenrode:matrix.orgRandy Eckenrode The only way I can see us being able to build those apps is if we use xcodes to scrape the macros from Xcode, and they happen to actually work with other Swift toolchains. Those macros would obviously have to be marked unfree. 15:45:14
@emilazy:matrix.orgemily
@attached(extension, conformances: FoundationModels.Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: Swift.String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
15:45:39
@emilazy:matrix.orgemilyI don't suppose the relevant symbols are in the dyld cache? 🤔15:45:46
@reckenrode:matrix.orgRandy EckenrodeNo. The stubs point to Xcode.15:45:56
@reckenrode:matrix.orgRandy Eckenrode * 15:46:09
@reckenrode:matrix.orgRandy EckenrodeThey’re used at compile-time, so I wouldn’t expect them to be in the dyld cache anyway.15:46:26

Show newer messages


Back to Room ListRoom Version: 6