forked from mirrors/nixpkgs
007af34263
NixOS stores ICDs at /run/opengl-driver/share/vulkan/icd.d/. Because Chrome ships its own vulkan-loader and doesn't use the NixOS system vulkan-loader, Chrome won't search the /run/opengl-driver directory withou either adding it to the path or patching Chrome's libvulkan.so.1. This change adds "${addOpenGLRunpath.driverLink}/share" unconditionally to the path. addOpenGLRunpath is the same module that NixOS system vulkan-loader uses as the path. Tested by running `VK_LOADER_DEBUG=all google-chrome-unstable --enable-features=Vulkan` and verifying Vulkan is enabled with chrome://gpu. |
||
---|---|---|
.. | ||
applications | ||
build-support | ||
common-updater | ||
data | ||
desktops | ||
development | ||
games | ||
misc | ||
os-specific | ||
pkgs-lib | ||
servers | ||
shells | ||
stdenv | ||
test | ||
tools | ||
top-level |