!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
11 Dec 2025
@vcunat:matrix.orgvcunatOh good, the rebuild seems to have trashed (almost?) no successful builds.19:03:29
12 Dec 2025
@emilazy:matrix.orgemily Randy Eckenrode: wondering if dropping Darwin exclusion from FFmpeg's withVulkan works on KosmicKrisp… 17:26:51
@emilazy:matrix.orgemily(probably it works with MoltenVK, I didn't test)17:26:57
@reckenrode:matrix.orgRandy EckenrodeWhat does it do?17:27:48
@reckenrode:matrix.orgRandy EckenrodeIf it’s using Vulkan video extensions, those are not implemented on either.17:28:23
@emilazy:matrix.orgemilyno, there are Vulkan-accelerated filters etc.17:29:33
@emilazy:matrix.orgemilyI believe that's just compute stuff.17:29:44
@emilazy:matrix.orgemilymight be wrong though…17:29:51
@emilazy:matrix.orgemilybut I don't mean video decoding, yeah.17:30:07
@reckenrode:matrix.orgRandy EckenrodeAh, maybe. How do we know it doesn’t work? Test failures?17:30:07
@emilazy:matrix.orgemily

well, the proximate cause of me wondering this is

Option vf: 'bwdif_vulkan' isn't supported.
Error parsing option vf (option parameter could not be parsed)
Setting commandline option --vf=bwdif_vulkan=mode=1 failed.
17:30:46
@emilazy:matrix.orgemilyso I guess seeing if mpv can use the Vulkan-accelerated filters would be the test case :)17:31:15
@reckenrode:matrix.orgRandy EckenrodeI can try building it and see.17:31:32
@emilazy:matrix.orgemilyjust seemed odd that we use Vulkan for mpv but have it turned off in FFmpeg – but I guess it's from back before we used MoltenVK a lot.17:31:53
@reckenrode:matrix.orgRandy EckenrodeMy KosmicKrisp branch is also out there though, and it’s built on master, so the rebuilds should be pretty mild.17:32:34
@reckenrode:matrix.orgRandy EckenrodeI try to update it when new KosmicKrisp commits are merged into Mesa.17:33:51
@reckenrode:matrix.orgRandy EckenrodeDoes GCC 15 build on Darwin?17:53:56
13 Dec 2025
@reckenrode:matrix.orgRandy Eckenrode

Loading the resource bundles was the problem. Swift Build at least works with our SDK now.

$ SDKROOT=$(nix eval --raw -f . apple-sdk_26.sdkroot) DEVELOPER_DIR=$(nix eval --raw -f . apple-sdk_26.outPath) result/bin/swbuild showPlatforms
Platform(name: 'android', identifier: 'android', path: '/', version: 'nil')
Platform(name: 'macosx', identifier: 'com.apple.platform.macosx', path: '/nix/store/wgwpfaijma19bx4q4ql4054r5qwdhlvi-apple-sdk-26.0/Platforms/MacOSX.platform', version: 'Optional("26.0")')
Platform(name: 'qnx', identifier: 'qnx', path: '/', version: 'nil')
Platform(name: 'webassembly', identifier: 'webassembly', path: '/', version: 'nil')
$ SDKROOT=$(nix eval --raw -f . apple-sdk_26.sdkroot) DEVELOPER_DIR=$(nix eval --raw -f . apple-sdk_26.outPath) result/bin/swbuild showSDKs
SDK(canonicalName: 'macosx26.0', path: '/nix/store/wgwpfaijma19bx4q4ql4054r5qwdhlvi-apple-sdk-26.0/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk')
14:52:47
@reckenrode:matrix.orgRandy Eckenrode
$ otool -L result/lib/libSwiftBuild.dylib
result/lib/libSwiftBuild.dylib:
        /nix/store/73w55p4wpd55l4avs01d8p4z9ka3vz6x-swift-build-6.2.2/lib/libSwiftBuild.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/73w55p4wpd55l4avs01d8p4z9ka3vz6x-swift-build-6.2.2/lib/libSWBCore.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/73w55p4wpd55l4avs01d8p4z9ka3vz6x-swift-build-6.2.2/lib/libSWBProjectModel.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/73w55p4wpd55l4avs01d8p4z9ka3vz6x-swift-build-6.2.2/lib/libSWBMacro.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/k6qxf4hh4phxd1jbnylq2x2klawx6yvc-swift-tools-support-core-6.2.2/lib/libSwiftToolsSupport.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/73w55p4wpd55l4avs01d8p4z9ka3vz6x-swift-build-6.2.2/lib/libSWBServiceCore.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/73w55p4wpd55l4avs01d8p4z9ka3vz6x-swift-build-6.2.2/lib/libSWBCAS.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/73w55p4wpd55l4avs01d8p4z9ka3vz6x-swift-build-6.2.2/lib/libSWBLLBuild.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/d1s9qwh5cl2cpi334xxid7l656mszf61-swift-llbuild-6.2.2-lib/lib/libllbuildSwift.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/3r9i6wx46v5fbrskjglzs7w06m7hc3am-swift-driver-6.2.2-lib/lib/libSwiftDriver.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/73w55p4wpd55l4avs01d8p4z9ka3vz6x-swift-build-6.2.2/lib/libSWBProtocol.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/73w55p4wpd55l4avs01d8p4z9ka3vz6x-swift-build-6.2.2/lib/libSWBUtil.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/73w55p4wpd55l4avs01d8p4z9ka3vz6x-swift-build-6.2.2/lib/libSWBCSupport.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/73w55p4wpd55l4avs01d8p4z9ka3vz6x-swift-build-6.2.2/lib/libSWBLibc.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/73w55p4wpd55l4avs01d8p4z9ka3vz6x-swift-build-6.2.2/lib/libSWBCLibc.dylib (compatibility version 0.0.0, current version 0.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1356.0.0)
        /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 4040.1.255)
        /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 4040.1.255)
        /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
        /usr/lib/swift/libswiftCore.dylib (compatibility version 1.0.0, current version 0.0.0)
        /usr/lib/swift/libswiftCoreFoundation.dylib (compatibility version 1.0.0, current version 120.100.0, weak)
        /usr/lib/swift/libswiftDarwin.dylib (compatibility version 1.0.0, current version 347.0.12, weak)
        /usr/lib/swift/libswiftDispatch.dylib (compatibility version 1.0.0, current version 56.0.0)
        /usr/lib/swift/libswiftIOKit.dylib (compatibility version 1.0.0, current version 1.0.0, weak)
        /usr/lib/swift/libswiftObjectiveC.dylib (compatibility version 1.0.0, current version 950.0.0, weak)
        /usr/lib/swift/libswiftSystem.dylib (compatibility version 1.0.0, current version 72.2.0)
        /usr/lib/swift/libswiftXPC.dylib (compatibility version 1.0.0, current version 105.0.14, weak)
        /usr/lib/swift/libswift_Concurrency.dylib (compatibility version 1.0.0, current version 0.0.0)
        /usr/lib/swift/libswiftos.dylib (compatibility version 1.0.0, current version 1076.0.0, weak)
14:54:15
@reckenrode:matrix.orgRandy EckenrodeThere it is building against the swift-llbuild, Swift Compiler Driver, and swift-tools-support-core packages instead of vendoring them.14:54:37
@bodzioney:matrix.orgEthan changed their display name from Ethan Bodzioney to Ethan.22:13:44
14 Dec 2025
@majordouble:matrix.orgmajordouble joined the room.02:50:13
@reckenrode:matrix.orgRandy Eckenrode
04:06:05
@reckenrode:matrix.orgRandy Eckenrode *
04:06:17
@reckenrode:matrix.orgRandy Eckenrode *

result/bin/swift-build --version
dyld[8157]: Library not loaded: @rpath/libX509.dylib
  Referenced from: <1E5E26B0-C4E9-38EC-BFEA-2EC004424B1C> /nix/store/v0rz67an5k7fb05vxcpj4vzyq0gqlq7q-swiftpm-6.2.3/bin/swift-build
  Reason: tried: '/usr/lib/swift/libX509.dylib' (no such file, not in dyld cache), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/libX509.dylib' (no such file), '/usr/lib/swift/libX509.dylib' (no such file, not in dyld cache), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/libX509.dylib' (no such file)
fish: Job 1, 'result/bin/swift-build --version' terminated by signal SIGABRT (Abort)
04:06:29
@reckenrode:matrix.orgRandy EckenrodeI know why that’s happening. It’s an easy fix. Otherwise, that’s SwiftPM building and linking against a bunch of stuff that’s been packaged.04:07:25
@reckenrode:matrix.orgRandy Eckenrode
$ result/bin/swift-build:
        /nix/store/v0rz67an5k7fb05vxcpj4vzyq0gqlq7q-swiftpm-6.2.3/lib/libCommands.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/v0rz67an5k7fb05vxcpj4vzyq0gqlq7q-swiftpm-6.2.3/lib/libCoreCommands.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/3cgjx9b5s078sq9wzrc042qnhsvrma8k-swift-build-6.2.3-lib/lib/libSwiftBuild.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/3cgjx9b5s078sq9wzrc042qnhsvrma8k-swift-build-6.2.3-lib/lib/libSWBBuildService.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/v0rz67an5k7fb05vxcpj4vzyq0gqlq7q-swiftpm-6.2.3/lib/libPackageModelSyntax.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/v0rz67an5k7fb05vxcpj4vzyq0gqlq7q-swiftpm-6.2.3/lib/libWorkspace.dylib (compatibility version 0.0.0, current version 0.0.0)
        @rpath/libX509.dylib (compatibility version 0.0.0, current version 0.0.0)
        @rpath/libCryptoExtras.dylib (compatibility version 0.0.0, current version 0.0.0)
        @rpath/libCrypto.dylib (compatibility version 0.0.0, current version 0.0.0)
        @rpath/libSwiftASN1.dylib (compatibility version 0.0.0, current version 0.0.0)
        @rpath/lib_CertificateInternals.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/v0rz67an5k7fb05vxcpj4vzyq0gqlq7q-swiftpm-6.2.3/lib/libBuild.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/v0rz67an5k7fb05vxcpj4vzyq0gqlq7q-swiftpm-6.2.3/lib/libSPMBuildCore.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/2ifyjiaspk4v4dnf0gkxn93cmlqz28iv-swift-llbuild-6.2.3-lib/lib/libllbuildSwift.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/v0rz67an5k7fb05vxcpj4vzyq0gqlq7q-swiftpm-6.2.3/lib/libPackageGraph.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/v0rz67an5k7fb05vxcpj4vzyq0gqlq7q-swiftpm-6.2.3/lib/libPackageLoading.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/v0rz67an5k7fb05vxcpj4vzyq0gqlq7q-swiftpm-6.2.3/lib/libSourceControl.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/v0rz67an5k7fb05vxcpj4vzyq0gqlq7q-swiftpm-6.2.3/lib/libDriverSupport.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/v0rz67an5k7fb05vxcpj4vzyq0gqlq7q-swiftpm-6.2.3/lib/libPackageModel.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/v0rz67an5k7fb05vxcpj4vzyq0gqlq7q-swiftpm-6.2.3/lib/libBasics.dylib (compatibility version 0.0.0, current version 0.0.0)
        @rpath/libOrderedCollections.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/v0rz67an5k7fb05vxcpj4vzyq0gqlq7q-swiftpm-6.2.3/lib/lib_AsyncFileSystem.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/zqi9mr8yn7357ldcv2brpm1xx193b20r-swift-tools-support-core-6.2.3/lib/libSwiftToolsSupport.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/0ql7aby4g4v5mlampmlgz7dwranr6va1-swift-driver-6.2.3-lib/lib/libSwiftDriver.dylib (compatibility version 0.0.0, current version 0.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1356.0.0)
        /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 4040.1.255, weak)
        /usr/lib/swift/libswiftCore.dylib (compatibility version 1.0.0, current version 0.0.0)
        /usr/lib/swift/libswiftCoreFoundation.dylib (compatibility version 1.0.0, current version 120.100.0, weak)
        /usr/lib/swift/libswiftDarwin.dylib (compatibility version 1.0.0, current version 347.0.12, weak)
        /usr/lib/swift/libswiftDispatch.dylib (compatibility version 1.0.0, current version 56.0.0, weak)
        /usr/lib/swift/libswiftIOKit.dylib (compatibility version 1.0.0, current version 1.0.0, weak)
        /usr/lib/swift/libswiftObjectiveC.dylib (compatibility version 1.0.0, current version 950.0.0, weak)
        /usr/lib/swift/libswiftXPC.dylib (compatibility version 1.0.0, current version 105.0.14, weak)
        /usr/lib/swift/libswift_Concurrency.dylib (compatibility version 1.0.0, current version 0.0.0)
        /usr/lib/swift/libswiftos.dylib (compatibility version 1.0.0, current version 1076.0.0, weak)
04:07:30
@plasmagoat:matrix.orgplasmagoat joined the room.10:40:58
@suua:matrix.orgsuua joined the room.13:31:02
@k8vnhzqm:matrix.org@k8vnhzqm:matrix.org left the room.17:16:01

There are no newer messages yet.


Back to Room ListRoom Version: 6