!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

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


SenderMessageTime
13 Jan 2026
@emilazy:matrix.orgemilythere's even header files in there01:28:13
@emilazy:matrix.orgemilybut ofc if you made the output less dumb in the rework that's another matter :)01:28:23
@reckenrode:matrix.orgRandy EckenrodeThe reason why LLD currently “works” is it relies on Clang to pass the correct flags. It’s not even wrapped.01:28:29
@reckenrode:matrix.orgRandy Eckenrode
$ nix build -f . swiftPackages.stdlib^\*
$ ls result/**
result/lib/lib_InternalSwiftStaticMirror.dylib*
result/lib/libswift_Builtin_float.dylib*
result/lib/libswift_Concurrency.dylib*
result/lib/libswift_Differentiation.dylib*
result/lib/libswift_RegexParser.dylib*
result/lib/libswift_StringProcessing.dylib*
result/lib/libswift_Volatile.dylib*
result/lib/libswiftCompatibilitySpan.dylib@
result/lib/libswiftCore.dylib*
result/lib/libswiftDistributed.dylib*
result/lib/libswiftObservation.dylib*
result/lib/libswiftRegexBuilder.dylib*
result/lib/libswiftRemoteMirror.dylib*
result/lib/libswiftRuntime.dylib*
result/lib/libswiftSwiftOnoneSupport.dylib*
result/lib/libswiftSynchronization.dylib*
result/lib/swift-6.2/macosx/libswiftCompatibilitySpan.dylib*

result/lib:
lib_InternalSwiftStaticMirror.dylib*  libswiftDistributed.dylib*
libswift_Builtin_float.dylib*         libswiftObservation.dylib*
libswift_Concurrency.dylib*           libswiftRegexBuilder.dylib*
libswift_Differentiation.dylib*       libswiftRemoteMirror.dylib*
libswift_RegexParser.dylib*           libswiftRuntime.dylib*
libswift_StringProcessing.dylib*      libswiftSwiftOnoneSupport.dylib*
libswift_Volatile.dylib*              libswiftSynchronization.dylib*
libswiftCompatibilitySpan.dylib@      swift-6.2/
libswiftCore.dylib*

result/lib/swift-6.2:
macosx/

result/lib/swift-6.2/macosx:
libswiftCompatibilitySpan.dylib*
01:29:17
@emilazy:matrix.orgemily an output with the runtime libraries required for Swift binaries (on Linux only, I guess?) would make sense, but the current lib ain't it 01:29:20
@emilazy:matrix.orgemily do those .dylibs even get used on macOS, where the Swift runtime is part of the OS dyld cache? 01:29:44
@reckenrode:matrix.orgRandy EckenrodeAll the Swift modules, embedded stuff, headers, and shims are in the dev output.01:29:57
@emilazy:matrix.orgemily shouldn't it be the out output, as it's consumed by the compiler rather than things taking the compiler as a build input 🤔 01:30:26
@reckenrode:matrix.orgRandy EckenrodeThey do some funky stuff to forward to the system. I don’t think we can avoid having them. We need the Span compatibility dylib for back deployment to 14.x and 15.x.01:30:33
@reckenrode:matrix.orgRandy Eckenrode The stdlib is a separate derivation. It has out and dev outputs. 01:31:03
@emilazy:matrix.orgemilyah01:31:11
@reckenrode:matrix.orgRandy EckenrodeThe embedded stuff is kind of weird. It lets you build “bare metal” Darwin applications.01:31:58
@reckenrode:matrix.orgRandy EckenrodeWhatever the hell that means.01:32:03

Show newer messages


Back to Room ListRoom Version: 6