!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1176 Members
β€œThere are still many issues with the Darwin platform but most of it is quite usable.” β€” http://yves.gnu-darwin.org192 Servers

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


SenderMessageTime
19 Jan 2026
@saiko:knifepoint.netKatalin πŸ”ͺ perhaps it needs additional include directories, or swiftpm does use swift clang inherently 20:37:29
@reckenrode:matrix.orgRandy Eckenrode It seems to be fine when invoked by SwiftPM but not when called directly. I can use the Xcode clang just fine with that header. 20:44:47
@saiko:knifepoint.netKatalin πŸ”ͺ yeah, that sounds like the same situation then 20:45:49
@saiko:knifepoint.netKatalin πŸ”ͺ iirc that generated header has a bunch of conditional includes at the top with has_include, and these errors look like missing defines, so maybe if you give it just the right include paths it'll get further, but I'd have to start digging 20:46:51
@reckenrode:matrix.orgRandy Eckenrode It needs this header: swiftToCxx/_SwiftCxxInteroperability.h . 20:48:15
@reckenrode:matrix.orgRandy EckenrodeThat has the defines.20:48:23
@reckenrode:matrix.orgRandy Eckenrode The Xcode toolchain ships it at /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/swiftToCxx/_SwiftCxxInteroperability.h. 20:49:32

Show newer messages


Back to Room ListRoom Version: 6