!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

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


SenderMessageTime
13 Jan 2026
@emilazy:matrix.orgemilythat would be nice for sure. what was the issue with that again?01:14:38
@reckenrode:matrix.orgRandy EckenrodeIt requires figuring out how it works and (probably) patching SwiftPM to allow it.01:14:56
@samasaur:matrix.orgsamasauraren't they only recently officially supported for swift-syntax only?01:15:14
@samasaur:matrix.orgsamasaurand no support for any other package01:15:20
@reckenrode:matrix.orgRandy Eckenrode There is some magic for Swift Syntax, but it seems to be really brittle. I was able to get it to parse a prebuilts entry in workspace-state.json, but SwiftPM didn’t do anything with it. 01:15:31
@reckenrode:matrix.orgRandy EckenrodeThe more pressing need is figuring out how to discover the stdlib.01:15:47
@reckenrode:matrix.orgRandy EckenrodeThe current approach patches the compiler to find it at an arbitrary path, which isn’t very good for cross-compilation.01:16:19
@emilazy:matrix.orgemilyenv variable?01:16:35
@reckenrode:matrix.orgRandy EckenrodeIdeally we could leverage the compiler’s ability to discover the stdlib relative to its location.01:16:48
@emilazy:matrix.orgemilypreferably target-specific env variable01:16:48
@emilazy:matrix.orgemilythough, yeah, avoiding patching at all is nicer01:17:01
@emilazy:matrix.orgemilycan we just symlink the compiler and the stdlib nearby?01:17:11
@reckenrode:matrix.orgRandy EckenrodeThat’s what I want to do, but I also want them to be discoverable by the linker.01:18:28
@reckenrode:matrix.orgRandy Eckenrode How does it work on Linux? Does linking with a .so at some path automatically set up the rpath? 01:18:44
@reckenrode:matrix.orgRandy EckenrodeIt makes me wonder what even the point of the patch is if the linker will handle things for us.01:20:35

Show newer messages


Back to Room ListRoom Version: 6