!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
17 Apr 2026
@reckenrode:matrix.orgRandy EckenrodeAnything that uses libiconv is getting broken because it has questionable ideas about how libiconv should behave. (While this issue is technically a behavioral difference and possibly a bug in Apple’s implementation, it’s not clear how likely it is a problem in practice.)13:01:20
@reckenrode:matrix.orgRandy EckenrodeI wonder if we should apply the UTF-8-MAC patch to GNU libiconv and just use that. The ABI compatibility stuff should still be there in our derivation.13:06:16
@reckenrode:matrix.orgRandy EckenrodeI’m currently doing a rebuild with the patch applied. I’m rebuilding all Darwin source releases plus .NET plus vulkan-caps-viewer, which involves building GJC, node, etc.16:01:05
@axel_w:matrix.orgaxwsystem.defaults.customUserPreferences really should be a homemanager setting.20:08:18
@axel_w:matrix.orgaxwOr how can that be set with different values for different users?20:09:17
@viraptor:tchncs.deviraptorI'm digging into this and I don't think we can actually use just swbuild. Here's my messy hammerspoon on your branch https://github.com/viraptor/nixpkgs/commit/ec6761783b0a57ed786bfc14df90c5a1ebb69b03 but in a sandbox it still fails on trying to access xcodebuild. It seems to be an unconditional thing in https://github.com/swiftlang/swift-build/blob/22b0c927248b2b4a4217fc0c72aed293b2c68df1/Sources/SWBBuildService/Messages.swift#L211 There's also no .pbxproj parser linked anywhere in that project that I can find. I think swbuild still relies on xcodebuild in the end, so I'll need to fix up the old facebook one 😢20:56:46
@reckenrode:matrix.orgRandy Eckenrode What does -dumpPIF do? Is there a compromise where the Facebook one gains the ability to do that? 21:21:33
@reckenrode:matrix.orgRandy EckenrodeThis just makes me hate Swift more. It’s fake open.21:23:46
@viraptor:tchncs.deviraptorIt seems to essentially rewrite the .xcodeproj into a json form. And yeah, I'm just looking into adding that. There are some elements that are not parsed properly for swift too, so it's going to be "fun".21:26:43
@viraptor:tchncs.deviraptor(especially since I haven't done C++ in like 2 decades...)21:28:32
@reckenrode:matrix.orgRandy EckenrodeIf we just need to reserialize it, can we use one of the existing tools to dump the project unto JSON?21:29:30
@reckenrode:matrix.orgRandy Eckenrode * 21:29:38
@reckenrode:matrix.orgRandy Eckenrode * 21:30:36
@viraptor:tchncs.deviraptor Not sure what you mean by existing libraries in this context.
But it looks like the translation to .pif is relatively trivial. Just waiting for all-the-things to rebuild due to xcbuild changing 😒 I'll submit something this weekend.
22:36:35
@reckenrode:matrix.orgRandy EckenrodeI mean like use one of the existing Python pr Ruby libraries to parse the project and dump it out in the correct JSON format. It avoids needing to mess with xcbuild and go through lots of rebuilds.22:50:09
@reckenrode:matrix.orgRandy EckenrodeOtherwise, if you do need to modify xcbuild, I would suggest creating a temporary xcbuild2 package that you can modify without doing lots of rebuilds.22:50:52
@reckenrode:matrix.orgRandy Eckenrode * 22:51:00
@reckenrode:matrix.orgRandy Eckenrode * 22:51:37
@reckenrode:matrix.orgRandy Eckenrode * 22:51:44
@viraptor:tchncs.deviraptorRight. I was just thinking about how much that can be untangled from the apple sdk a bit. The strict path lookup from various things makes it hard (xcode-select and then running things under that path). But it's ok, we'll get there.22:53:02
@reckenrode:matrix.orgRandy EckenrodeI would just patch that stuff out. Swift Build already requires a ton of patching due assuming FHS.22:56:43
18 Apr 2026
@reckenrode:matrix.orgRandy EckenrodeLooks like KosmicKrisp is going to be getting tessellation soon-ish. Some ground work MRs have landed recently. Mesa 26.2 should be interesting.00:03:20
@reckenrode:matrix.orgRandy Eckenrode… is Rubberband broken with libc++ 21?01:17:24
@reckenrode:matrix.orgRandy EckenrodeYes. https://github.com/breakfastquay/rubberband/pull/12601:29:25
@reckenrode:matrix.orgRandy Eckenrode https://github.com/NixOS/nixpkgs/pull/511070 makes GNU libiconv the default on Darwin. I keep tripping over autoreconfHook causing breakage …. 03:32:56
@lain:glasgow.social@lain:glasgow.social left the room.04:32:43
@viraptor:tchncs.deviraptor
In reply to @reckenrode:matrix.org
I would just patch that stuff out. Swift Build already requires a ton of patching due assuming FHS.
It's all going in the right direction. There are a few changes in xcbuild, ibtool and others, but... I'm confident things will work in the end. swbuild itself is behaving well.
07:33:46
@viraptor:tchncs.deviraptor * It's all going in the right direction. There are a few changes in xcbuild, ibtool and others, but... I'm confident things will work in the end. swbuild itself is behaving well.
(There's at least 2 utilities to shim/rewrite to make it work. Currently dealing with derq)
09:05:52
@weethet:catgirl.cloudWeetHet

I wish that making vulkan loader use mesa didn’t feel as hacky. I know that it uses moltenvk only in one place and using override { moltenvk = mesa; } works but it feels wrong

Gtk4 doesn’t use vulkan on macOS for now due to the visual artifacts with moltenvk which aren’t present with mesa

11:18:13
@reckenrode:matrix.orgRandy EckenrodeCan’t apps that need Mesa set the environment variable to point at the KosmicKrisp ICD?11:19:23

Show newer messages


Back to Room ListRoom Version: 6