!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
21 Nov 2025
@samasaur:matrix.orgsamasaursee eg https://github.com/nix-darwin/nix-darwin/issues/164000:53:11
@debtquity:matrix.orgdebtquityoh, thanks samasaur. I'll fix and try again00:54:10
@samasaur:matrix.orgsamasaur

anything like

pkgs.buildEnv {
  name = "foo";
  pathsToLink = "/Applications";
}

should become

pkgs.buildEnv {
  name = "foo";
  pathsToLink = [ "/Applications" ];
}
00:54:12
@samasaur:matrix.orgsamasaur *

anything like

pkgs.buildEnv {
  name = "foo";
  pathsToLink = "/Applications";
}

should become

pkgs.buildEnv {
  name = "foo";
  pathsToLink = [ "/Applications" ];
}
00:54:17
@debtquity:matrix.orgdebtquityits been so long since i used that haah00:54:39
@reckenrode:matrix.orgRandy Eckenrode I needed to add (lib.mesonEnable "shared-llvm" true). I guess Mesa tries to link LLVM statically, which breaks when SPIRV-LLVM-Translator links it dynamically. 01:23:03
@reckenrode:matrix.orgRandy Eckenrode
result/bin/mesa-overlay-control.py
result/bin/mesa-screenshot-control.py
result/lib/libGL.1.dylib
result/lib/libVkLayer_MESA_anti_lag.dylib
result/lib/libgallium-26.0.0-devel.dylib
result/lib/libVkLayer_MESA_screenshot.dylib
result/lib/libVkLayer_MESA_vram_report_limit.dylib
result/lib/libvulkan_kosmickrisp.dylib
result/lib/libVkLayer_MESA_overlay.dylib
result/share/vulkan/explicit_layer.d/VkLayer_MESA_screenshot.json
result/share/vulkan/explicit_layer.d/VkLayer_MESA_vram_report_limit.json
result/share/vulkan/explicit_layer.d/VkLayer_MESA_overlay.json
result/share/vulkan/implicit_layer.d/VkLayer_MESA_anti_lag.json
result/share/vulkan/icd.d/kosmickrisp_mesa_icd.aarch64.json
01:45:16
@reckenrode:matrix.orgRandy EckenrodeLooking at a diff between MoltenVK and KosmicKrisp, MoltenVK supports more extensions. Where their feature sets align, KosmicKrisp usually has higher limits.01:55:55
@reckenrode:matrix.orgRandy EckenrodeFor the things they both support, KosmicKrisp is presumably more conformant.01:56:43
@reckenrode:matrix.orgRandy EckenrodeI’m currently waiting on vkquake to build to see if it works.01:56:53
@reckenrode:matrix.orgRandy EckenrodeVKQuake - KosmicKrisp.png
Download VKQuake - KosmicKrisp.png
02:46:33
@reckenrode:matrix.orgRandy Eckenrodevulkan-caps-viewer.png
Download vulkan-caps-viewer.png
02:48:03
@reckenrode:matrix.orgRandy EckenrodeFor VkQuake, I had to disable its checks for MoltenVK.02:48:45
@reckenrode:matrix.orgRandy EckenrodeFor vulkan-caps-viewer, I had to fix the derivation on Darwin, which I’ll be submitting shortly.02:49:03
@validitymaiden:matrix.orgvaliditymaidenThanks for the feedback; that helps a lot :)02:49:27
@reckenrode:matrix.orgRandy Eckenrodehttps://gist.github.com/reckenrode/94666977418beef5aec79d1b1e977e6403:07:54
@reckenrode:matrix.orgRandy EckenrodePatch to build KosmicKrisp in Mesa. The commit is HEAD as of a few minutes ago. Picked because that’s what it was.03:08:15
@reckenrode:matrix.orgRandy Eckenrode
$ otool -L result/lib/libvulkan_kosmickrisp.dylib
result/lib/libvulkan_kosmickrisp.dylib:
        /nix/store/9nis19ya24mhzb5j9ykdcrf96p6z5qdb-mesa-25.3.0-unstable-2025-11-20/lib/libvulkan_kosmickrisp.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)
        /nix/store/vxg3p6z49h881sk5q6qa86pjlj4r123d-libxcb-1.17.0/lib/libxcb.1.dylib (compatibility version 3.0.0, current version 3.0.0)
        /nix/store/89ck3bns3nfl0r40i4g891nv57jdd7l7-libx11-1.8.12/lib/libX11-xcb.1.dylib (compatibility version 2.0.0, current version 2.0.0)
        /nix/store/vxg3p6z49h881sk5q6qa86pjlj4r123d-libxcb-1.17.0/lib/libxcb-xfixes.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /nix/store/vxg3p6z49h881sk5q6qa86pjlj4r123d-libxcb-1.17.0/lib/libxcb-randr.0.dylib (compatibility version 2.0.0, current version 2.0.0)
        /System/Library/Frameworks/Metal.framework/Versions/A/Metal (compatibility version 1.0.0, current version 370.63.1)
        /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1900.180.0)
        /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
03:13:24
@reckenrode:matrix.orgRandy EckenrodeHow does Vulkan work with X11?03:15:01
@k900:0upti.meK900I don't think it does on macOS+08:22:57
@k900:0upti.meK900 * I don't think it does on macOS? 08:23:02
@niklaskorz:matrix.orgniklaskorzI was about to say "I'm surprised XQuartz is still maintained" but I guess it isn't really10:58:45
@niklaskorz:matrix.orgniklaskorzhttps://github.com/XQuartz/XQuartz/issues/28211:00:44
@niklaskorz:matrix.orgniklaskorzso not possible11:01:03
@k900:0upti.meK900I mean11:03:06
@k900:0upti.meK900Why the fuck would you want X11 and Vulkan on OSX11:03:13
@k900:0upti.meK900Objectively11:03:16
@k900:0upti.meK900I'm pretty sure OSX deprecated X11 before Vulkan was even a thing11:03:52
@niklaskorz:matrix.orgniklaskorzvery weird ports would be the only thing I could come up with11:04:09
@niklaskorz:matrix.orgniklaskorz* very weird ports of Linux applications would be the only thing I could come up with11:04:15

Show newer messages


Back to Room ListRoom Version: 6