!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
1 Dec 2025
@reckenrode:matrix.orgRandy EckenrodeI think I’m going to have to package Swift 5.10.1. The C++ bootstrap compiler is useless.03:14:09
@reckenrode:matrix.orgRandy EckenrodeThis sucks because eventually the 14.4 SDK will be dropped, so what happens then?03:15:36
@emilazy:matrix.orgemilyhave you reported the bootstrapping issues upstream?03:44:01
@emilazy:matrix.orgemilyI assume that the C++ compiler will become more useful over time03:44:14
@reckenrode:matrix.orgRandy EckenrodeThe problem is the 26.0 SDK exposes macros unconditionally, which the C++ bootstrap compiler can’t support because swift-syntax is written in Swift.04:12:08
@reckenrode:matrix.orgRandy EckenrodeIt appears to be working with the 14.4 SDK, but that makes me nervous about the long term maintainability.04:12:43
@reckenrode:matrix.orgRandy Eckenrode emily: FYI, KosmicKrisp works with mpv and Wine. It doesn’t implement all the features yet that DXVK requires, but they will eventually. 04:49:23
@reckenrode:matrix.orgRandy Eckenrode SwiftPM 6.2 requires Swift Build. That’s lovely. 14:17:54
@toonn:matrix.orgtoonn Welcome back, emily : ) 14:20:25
@toonn:matrix.orgtoonn RandyEckenrode: Can you explain again why an extra intermediate Swift compiler doesn't work? I get wanting to avoid it but relying on the older SDK doesn't seem like a great workaround. 14:22:22
@reckenrode:matrix.orgRandy EckenrodeThe problem (using the 26.0 SDK, which I stopped doing for now) is that going from Swift with no macro support to Swift with macro support requires a compiler with macro support, but all you have is one with no macro support.14:31:22
@toonn:matrix.orgtoonn Oh, what. And 5.10.1 is the missing link non-macro compiler supporting compiling a macro compiler? 14:32:07
@reckenrode:matrix.orgRandy EckenrodeYes, but it requires the 14.4 SDK.14:41:38
@reckenrode:matrix.orgRandy EckenrodeFortunately, the 14.4 SDK does appear to work with Swift 6.2, so I’m doing that instead of building Swift 5.10.1.14:42:24
@toonn:matrix.orgtoonn Is the bootstrap compiler basically frozen or an active project? 14:43:25
@reckenrode:matrix.orgRandy EckenrodeThe issue is more that our update plans involve removing the 14.4 SDK next year.14:44:14
@reckenrode:matrix.orgRandy EckenrodeWe may end up having to start from a binary bootstrap compiler.14:45:53
@matthewcroughan:defenestrate.itmatthewcroughan changed their profile picture.14:59:06
@robert:funklause.dedotlambdaWe might want to add some functionality to desktopToDarwinBundle: https://github.com/NixOS/nixpkgs/pull/46648016:58:00
@reckenrode:matrix.orgRandy EckenrodeYeah. There is more it can do. We can also drop the pre-11.0 workarounds too.17:05:30
@emilazy:matrix.orgemilyisn't this something the bootstrap compiler could handle by ignoring the macros or such?17:10:50
@emilazy:matrix.orgemilythe fact that the bootstrap compiler is being actively worked on implies that it's meant to be useful for something, no?17:11:03
@emilazy:matrix.orgemilyall we need it to do is be able to compile Swift again right?17:11:21
@emilazy:matrix.orgemilynice! I wonder how performance is with mpv compared to MoltenVK.17:11:31
@reckenrode:matrix.orgRandy EckenrodeBootstrapping new platforms.17:12:14
@reckenrode:matrix.orgRandy Eckenrodehttps://matrix.to/#/!lheuhImcToQZYTQTuI:nixos.org/$22gcuynbC7YnGvlCdcr8ATU2-lGn89JU7fcyrcOzoUk?via=nixos.org&via=matrix.org&via=nixos.dev17:13:37
@reckenrode:matrix.orgRandy Eckenrode Not mpv, but mpv is probably not pushing the GPU very hard just for plain playback. The Matrix seemed fine playing back in 4k HDR. 17:14:21
@emilazy:matrix.orgemily is that with e.g. profile=high-quality, maybe interpolation=on and a fancy tscale, possibly some Vulkan-using video filters? 17:15:00
@emilazy:matrix.orgemilythe out of the box settings don't tax the GPU, but adjusting it for high playback quality in various situations can be expensive enough that my old Intel machine would struggle17:15:29
@emilazy:matrix.orgemily some of the scaling algorithms are pretty expensive, I think profile=high-quality uses ewa_lanczossharp these days 17:15:49

Show newer messages


Back to Room ListRoom Version: 6