!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1150 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
@reckenrode:matrix.orgRandy EckenrodeI wonder if we need a `no broken signatures’ hook on Darwin.18:12:50
@vcunat:matrix.orgvcunat* The cache is assumed to be closed on dependencies. (or whatever you'd call the property)18:12:55
@reckenrode:matrix.orgRandy EckenrodeLike that symlinks one but for signatures.18:13:07
@emilazy:matrix.orgemily I see no alternative other than rerolling the hash for aarch64-darwin then 18:13:27
@emilazy:matrix.orgemilythough should try to rebuild it locally first to make sure that fixes it18:13:33
@emilazy:matrix.orgemily (cannot use --rebuild or --check, those break signature themselves) 18:13:40
@emilazy:matrix.orgemily(need to just build it without substituting on a machine without it in the store)18:13:49
@vcunat:matrix.orgvcunat It does seem to fix ./result/bin/autogen --help on this machine. 18:18:35
@vcunat:matrix.orgvcunat * It does seem to fix ./result-bin/bin/autogen --help on this machine. 18:19:21
@vcunat:matrix.orgvcunat OK, pushed as e0d2da7967a3. Thanks. 18:25:03
@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

There are no newer messages yet.


Back to Room ListRoom Version: 6