!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1184 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
18 Apr 2026
@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
@k900:0upti.meK900This makes no sense anyway11:19:59
@k900:0upti.meK900It should not be linking moltenvk at all11:20:08
@k900:0upti.meK900It should be linking vulkan-loader11:20:12
@weethet:catgirl.cloudWeetHethttps://github.com/NixOS/nixpkgs/blob/a9503707cb403de2b9a974c27d89031c73b84455/pkgs/by-name/vu/vulkan-loader/package.nix#L5211:20:41
@k900:0upti.meK900Yeah that's a hack11:21:00
@k900:0upti.meK900If GTK links vulkan-loader you can set the environment variables11:21:14
@k900:0upti.meK900And point it at kosmickrisp11:21:16
@reckenrode:matrix.orgRandy EckenrodeThat’s a default path, isn’t it?11:21:19
@k900:0upti.meK900If GTK links moltenvk directly, that's a problem11:21:22
@weethet:catgirl.cloudWeetHetOh I didn’t know about that11:21:34
@weethet:catgirl.cloudWeetHetYeah it links vulkan loader11:21:50
@k900:0upti.meK900 VK_ICD_FILENAME=/nix/store/... should work 11:21:52
@reckenrode:matrix.orgRandy Eckenrode Or VK_DRIVER_FILES I think. 11:22:30
@weethet:catgirl.cloudWeetHetMore stuff to add to the gtk app wrapper hook ig11:23:19
@k900:0upti.meK900https://github.com/KhronosGroup/Vulkan-Loader/blob/main/docs/LoaderDriverInterface.md11:23:28
@k900:0upti.meK900 I will defer to the Darwin team on that 11:23:41
@k900:0upti.meK900But I don't think this is a good idea11:23:49
@k900:0upti.meK900Unless there are obvious immediate issues with the GL code path11:24:02
@k900:0upti.meK900I think we should follow upstream here11:24:05
@k900:0upti.meK900Instead of trying to force an experimental Vulkan renderer on an experimental Vulkan driver11:24:21
@reckenrode:matrix.orgRandy EckenrodeIf MoltenVK doesn’t work, there may not be a better option. However, KosmicKrisp is not supported on Intel hardware.11:24:36
@weethet:catgirl.cloudWeetHet It’s still used as default even if vulkan is available 11:24:41
@weethet:catgirl.cloudWeetHet On macOS 11:24:52
@k900:0upti.meK900Then we should absolutely not pull in an experimental Vulkan driver automagically11:24:59

Show newer messages


Back to Room ListRoom Version: 6