!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
@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
@reckenrode:matrix.orgRandy EckenrodeSetting it in the manifest loader fixed the platform issue. You can now build for an older target if that’s your thing.21:34:04
@reckenrode:matrix.orgRandy Eckenrode
Load command 32
          cmd LC_RPATH
      cmdsize 96
         path /nix/store/p0dhvg983kxjaj9h0n2pjsdspvlk4930-swift-driver-6.2.3/lib/swift-6.2/macosx (offset 12)
21:34:20
@reckenrode:matrix.orgRandy EckenrodeThat’s wrong. The fix will be splitting out the Swift stdlib into its own derivation, which should be a ton of fun to build.21:34:34
@reckenrode:matrix.orgRandy EckenrodeThen Swift and Swift Compiler Driver can reference that instead.21:34:49
@emilazy:matrix.orgemilythat'll help for cross too :)21:37:59
@reckenrode:matrix.orgRandy EckenrodeOne of the reasons I’m doing it.22:03:51
@flokli:matrix.orgflokliRedacted or Malformed Event23:26:16
@emilazy:matrix.orgemilyhi23:26:27
@flokli:matrix.orgflokliSorry, I fatfingered on too tiny keyboard23:27:20
@flokli:matrix.orgflokliI wanted to ask about https://paste.linuxlounge.net/BQ , and whether any of this rings a bell.23:28:10
@flokli:matrix.orgflokliThat's the aws-lc-sys crate, and it shows some obscure errors about various symbols not found, if compiling on a MacOS system.23:30:28
@flokli:matrix.orgflokliit notably only fails is compiling inside the derivation, not when using cargo.23:30:48
@emilazy:matrix.orgemily looks like maybe a missing rustPlatform.bindgenHook or similar? 23:30:57
@emilazy:matrix.orgemilycan you share the derivation code maybe?23:31:13
@flokli:matrix.orgflokli https://git.snix.dev/snix/snix, nix-build -A snix.store 23:31:46
@emilazy:matrix.orgemilyah, this is using crane?23:32:39
@flokli:matrix.orgflokli crate2nix, see the snix/Cargo.nix file, and snix/default.nix calling into it 23:33:15

Show newer messages


Back to Room ListRoom Version: 6