!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
27 Dec 2025
@reckenrode:matrix.orgRandy EckenrodeIt’s hard-coded in SwiftPM.16:47:00
@reckenrode:matrix.orgRandy EckenrodeIt’s easier to build its dependencies for an older deployment target.16:48:42
@emilazy:matrix.orgemily"I am trying to make SwiftPM’s dependencies work with 10.13" makes me very sad 😔16:59:40
@emilazy:matrix.orgemilyI'd rather patch SwiftPM than spend time on unsupported OS versions16:59:50
@reckenrode:matrix.orgRandy Eckenrode I had to patch one function in swift-tools-support-core to use an availability check and return ENOSYS on older versions. 17:03:44
@reckenrode:matrix.orgRandy EckenrodeI set Swift Driver to 10.15.17:04:15
@reckenrode:matrix.orgRandy EckenrodeThe rest build fine.17:04:22
@emilazy:matrix.orgemilyhow does upstream handle that?17:13:22
@reckenrode:matrix.orgRandy EckenrodeThey build whatever in their mega build script.17:13:41
@reckenrode:matrix.orgRandy EckenrodeTechnically, this is in C code, which just warns. We enforce the check in our wrapper.17:14:31
@reckenrode:matrix.orgRandy Eckenrode * 17:14:53
@reckenrode:matrix.orgRandy EckenrodeWTF. SwiftPM effectively requires 10.15.4 or newer. How the hell is this damn manifest thing even supposed to build?20:09:43
@reckenrode:matrix.orgRandy EckenrodeSwift Build requires macOS 13. How does this package description module get an older deployment target?20:14:49
@reckenrode:matrix.orgRandy Eckenrode
 4 | import PackageDescription
   |        `- error: compiling for macOS 10.13, but module 'PackageDescription' has a minimum deployment target of macOS 10.15: /nix/store/fxbsbvk42lminfmw3gf6j0c34wvlvpvs-swiftpm-6.2.3/lib/swift/pm/ManifestAPI/PackageDescription.swiftmodule
20:52:48
@reckenrode:matrix.orgRandy Eckenrode PackageDescription uses APIs from 10.15. How does this work with an upstream toolchain? 20:53:13
@reckenrode:matrix.orgRandy Eckenrode
// swift-module-flags: -target arm64-apple-macos14.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -package-description-version 999.0 -enable-experimental-feature MemberImportVisibility -enable-experimental-feature DebugDescriptionMacro -user-module-version 24502 -module-name PackageDescription -package-name swiftpm
20:55:32
@reckenrode:matrix.orgRandy Eckenrode From the swiftinterface in the toolchain. 20:55:42
@emilazy:matrix.orgemilyperhaps something with our deployment variables / flags / target naming scheme / whatever is causing issues?20:57:55
@reckenrode:matrix.orgRandy Eckenrode * From the swiftinterface in the Xcode toolchain. 20:57:59
@emilazy:matrix.orgemily e.g. arm64-apple-darwin lacking the version 20:58:03
@reckenrode:matrix.orgRandy EckenrodeThis is set automatically by CMake for Swift.20:58:30
@reckenrode:matrix.orgRandy Eckenrode I wonder if swiftinterface files are more lax bout deployment target, which is how it works as long as you don’t use a newer API. 20:58:42
@reckenrode:matrix.orgRandy Eckenrode * I wonder if swiftinterface files are more lax bout deployment targe 20:58:54
@reckenrode:matrix.orgRandy Eckenrode * I wonder if swiftinterface files are more lax bout deployment target. 20:58:57
@reckenrode:matrix.orgRandy Eckenrode * I wonder if swiftinterface files are more lax about deployment target. 20:59:06
@reckenrode:matrix.orgRandy Eckenrode I’m currently trying to build the interface for the PackageDescription module. 20:59:18
@reckenrode:matrix.orgRandy EckenrodeThat seems like way too much work. I changed the default “oldest version” to 14.0.21:15:53
@reckenrode:matrix.orgRandy Eckenrode That breaks setting the platform in Package.swift. ☹️ 21:18:39
@reckenrode:matrix.orgRandy Eckenrode Oh, neat. swift-driver is setting the wrong rpath. 21:20:04
@realnyte:matrix.orgNyte changed their display name from realnyte to Nyte.21:20:31

Show newer messages


Back to Room ListRoom Version: 6