3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs
Brandon Weeks 007af34263 google-chrome: add /run/opengl-driver/share/vulkan/icd.d/ to path
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.
2022-01-21 21:30:51 -08:00
..
applications google-chrome: add /run/opengl-driver/share/vulkan/icd.d/ to path 2022-01-21 21:30:51 -08:00
build-support
common-updater
data noto-fonts-cjk: fix rendering issues 2022-01-22 03:01:20 +09:00
desktops gnome.nautilus: 41.1 -> 41.2 2022-01-21 13:31:56 +01:00
development Merge pull request #153214 from r-ryantm/auto-update/libgsf 2022-01-22 12:39:27 +08:00
games Merge pull request #155501 from AndersonTorres/new-games 2022-01-21 16:48:36 -03:00
misc Merge pull request #151586 from meck/vim_new_plugins 2022-01-21 20:24:14 -03:00
os-specific Merge pull request #155261 from ius/udisks2-cross 2022-01-22 03:52:43 +01:00
pkgs-lib
servers Merge pull request #155580 from r-ryantm/auto-update/prowlarr 2022-01-22 02:22:15 +01:00
shells
stdenv
test
tools Merge pull request #156081 from veprbl/pr/broken_keycard-cli 2022-01-22 08:34:30 +08:00
top-level Merge pull request #155501 from AndersonTorres/new-games 2022-01-21 16:48:36 -03:00