!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
19 Apr 2026
@reckenrode:matrix.orgRandy EckenrodeI guess Swift may slip to post 26.05, unfortunately.14:11:35
@reckenrode:matrix.orgRandy EckenrodeBiggest help for Swift right now would be using my branch to build things and find problems. That’s how the issue with in-tree SwiftPM dependencies was uncovered.14:13:02
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/NixOS/nixpkgs/actions/runs/24630997267/job/72018257578#step:3:114:27:34
@reckenrode:matrix.orgRandy EckenrodeDid the Git error just hit CI?14:27:43
@reckenrode:matrix.orgRandy EckenrodeNo, GitHub appears to be having issues.14:29:58
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/NixOS/nixpkgs/actions/runs/24630997244/job/72018257140?pr=511211#step:4:39 in another PR.14:30:15
@viraptor:tchncs.deviraptor Looks like that's my next blocker. I'm stuck on failed to build module 'Swift'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.10 (swiftlang-5.10.0.12.5 clang-1500.3.9.1.1)', while this compiler is 'Swift version 6.2.4 (swift-6.2.4-RELEASE)') currently. But at least I've got all the other required changes to merge in the meantime. 23:25:48
@reckenrode:matrix.orgRandy EckenrodeIs that using the current Swift?23:44:14
@reckenrode:matrix.orgRandy Eckenrode * 23:44:21
@viraptor:tchncs.deviraptorFrom your pre-rebase mk2 branch - https://github.com/viraptor/nixpkgs/tree/hammerspoon-swbuild23:46:01
@viraptor:tchncs.deviraptorI'll check today if anything changed post-rebase.23:47:54
20 Apr 2026
@viraptor:tchncs.deviraptor* From your pre-rebase mk2 branch - https://github.com/viraptor/nixpkgs/tree/hammerspoon-swbuild (all the changes are "YOLO, just make it work" level, it will be cleaned up a lot before submitting anywhere)00:25:30
@reckenrode:matrix.orgRandy EckenrodeIs it using the wrong SDK? Swift is really sensitive to SDK version.00:44:29
@reckenrode:matrix.orgRandy EckenrodeIt should be propagating the 26.x SDK though.00:44:38
@viraptor:tchncs.deviraptorHmm... probably.00:50:26
@picnoir:alternativebit.frpicnoir changed their display name from Picnoir to picnoir.10:06:11
@viraptor:tchncs.deviraptor It seems like using apple-sdk_26 solved some errors. But now I'm stuck with SwiftShims module missing, which should be loaded from Swift's stdlib, but even putting swiftPackages.stdlib explicitly in nativeBuildInputs doesn't help. I get lots of:
Swift.swiftmodule/x86_64-apple-macos.swiftinterface:5:8: error: Unable to find module dependency: 'SwiftShims'
Grepping that string in the stdlib package doesn't bring up anything, so I'm suspicious of everything now.
11:40:04
@reckenrode:matrix.orgRandy EckenrodeThis is also failing in Hammerspoon’s build or in the Swift build itself?11:42:09
@reckenrode:matrix.orgRandy EckenrodeThe latter should work. I’ve been building .NET and mpv with it locally.11:42:52
@reckenrode:matrix.orgRandy EckenrodeWell, until nodejs-slim got totally broken.11:43:30
@viraptor:tchncs.deviraptorhammerspoon build. Swift worked fine.11:43:37
@viraptor:tchncs.deviraptorah! there's something in stdlib.dev - I missed it, maybe I'll be lucky :)11:44:41
@viraptor:tchncs.deviraptorI was not lucky... stdlib.dev does indeed contain SwiftShim, but it's not found. Unfortunately I know nothing about Swift module lookup system. I'll do some reading unless you know the answer immediately. /nix/store/ifz6r2b8q64r73iq249h49yddficziy4-new_sdk/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-macos.swiftinterface:5:8: error: Unable to find module dependency: 'SwiftShims' import SwiftShims11:49:40
@reckenrode:matrix.orgRandy Eckenrode Are you using swiftPackages.swift or .swiftc? 11:51:21
@reckenrode:matrix.orgRandy EckenrodeThat SDK path is odd.11:52:13
@viraptor:tchncs.deviraptor.swiftc - I think it's working better now with .swift! thank you.11:53:14
@viraptor:tchncs.deviraptor🎉 it did work.11:53:57
@reckenrode:matrix.orgRandy Eckenrode The stdlib is separated from the compiler. .swift sets up a symlink farm with the stdlib, compiler, and other needed dependencies. 11:54:22
@reckenrode:matrix.orgRandy EckenrodeLike on Linux it will include Foundation.11:54:34
@reckenrode:matrix.orgRandy EckenrodeNix makes building multiple packages from one source an enormous pain in the ass, but we want these separate so you don’t pull in the full Swift closure just for linking to its stdlib (and for cross eventually).11:55:40

Show newer messages


Back to Room ListRoom Version: 6