!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
19 Apr 2026
@weethet:catgirl.cloudWeetHet

Is it okay to put a build with vulkan support into passthru.tests?

tests = {
  pkg-config = testers.hasPkgConfigModules {
    package = finalAttrs.finalPackage;
  };
  darwinVulkanSupport = finalAttrs.finalPackage.override { vulkanSupport = true; };
};
13:37:44
@k900:0upti.meK900It's fine to have Vulkan in the main build as long as it's not enabled by default IMO13:38:56
@weethet:catgirl.cloudWeetHet I mean I would have vulkanSupport only be enable by default on linux 13:39:44
@weethet:catgirl.cloudWeetHetBut I need to check that it actually builds13:39:57
@weethet:catgirl.cloudWeetHetOh, wait, but tests aren't built by hydra by default, are they?13:41:18
@k900:0upti.meK900They are not13:42:30
@weethet:catgirl.cloudWeetHetThat's unfortunate. Where do I put the override then so it would be build on darwin (both to ensure that the package doesn't break and so it is in the cache)13:44:15
@k900:0upti.meK900Can it be enabled on Darwin, just not used by default?13:44:37
@weethet:catgirl.cloudWeetHetRandy wanted us to not pull vulkan into the closure by default13:45:00
@k900:0upti.meK900Do we know the closure size impact?13:45:28
@k900:0upti.meK900It should be pretty small, I think13:45:35
@weethet:catgirl.cloudWeetHetI think vulkan-loader pulls in moltenvk on darwin13:45:52
@weethet:catgirl.cloudWeetHetScreenshot 2026-04-19 at 15.46.33.png
Download Screenshot 2026-04-19 at 15.46.33.png
13:46:38
@emilazy:matrix.orgemilyQt already pulls it in unconditionally though?13:47:06
@weethet:catgirl.cloudWeetHet20mb is quite a lot13:47:07
@weethet:catgirl.cloudWeetHetI don't have any Qt apps installed so I don't have moltenvk 13:47:46
@weethet:catgirl.cloudWeetHet* I don't have any Qt apps installed so I don't have moltenvk in my system closure13:47:53
@reckenrode:matrix.orgRandy Eckenrode No, that’s fine for GTK. I just wanted it off by default for now (for the same reasons K900 gave). 13:48:17
@weethet:catgirl.cloudWeetHetThe default backend is still GL even if vulkan-support is enabled13:48:45
@weethet:catgirl.cloudWeetHetI thought you didn't want moltenvk in the closure by default at all13:48:57
@weethet:catgirl.cloudWeetHet* The default backend is still GL even if vulkanSupport is enabled13:49:42
@reckenrode:matrix.orgRandy EckenrodeNo, that’s fine if it makes using KosmicKrisp easier via setting the correct driver variable in a wrapper. If I gave the impression about not wanting MoltenVK in the closure, that was my mistake. It just shouldn’t be the default renderer.13:50:25
@reckenrode:matrix.orgRandy Eckenrode emily Let me know if there’s any follow-up to my replies to your questions. Also regarding the 26.4 SDK fix, another reason I wanted to avoid the cctools-port fix is it mentioned decompilation in the PR. I’m not sure how it was used, but I figured it was better to finish my work and independently derive a fix. 13:51:27
@weethet:catgirl.cloudWeetHet You still need to force it with GSK_RENDERER=vulkan 13:51:43
@weethet:catgirl.cloudWeetHetOtherwise it uses GL13:51:49
@emilazy:matrix.orgemilyyep, will take a look soon (I might have also forgotten about other PRs pending on me if there are any)13:52:16
@reckenrode:matrix.orgRandy Eckenrode
  • https://github.com/NixOS/nixpkgs/pull/511211
  • https://github.com/NixOS/nixpkgs/pull/511070
  • https://github.com/NixOS/nixpkgs/pull/485980
13:53:45
@reckenrode:matrix.orgRandy EckenrodeThose are my active ones. The 26.4 SDK one will be coming shortly.13:53:53
@reckenrode:matrix.orgRandy Eckenrode emily, here’s the 26.4 SDK: https://github.com/NixOS/nixpkgs/pull/511399 13:58:46
@qwrdd:matrix.orgqwrdd joined the room.13:59:56

Show newer messages


Back to Room ListRoom Version: 6