nixpkgs/pkgs/by-name/bo/bottles-unwrapped/vulkan_icd.patch
2024-11-13 19:42:56 +01:00

16 lines
542 B
Diff

diff --git a/bottles/backend/utils/vulkan.py b/bottles/backend/utils/vulkan.py
index 6673493..9191004 100644
--- a/bottles/backend/utils/vulkan.py
+++ b/bottles/backend/utils/vulkan.py
@@ -28,7 +28,9 @@ class VulkanUtils:
"/usr/share/vulkan",
"/etc/vulkan",
"/usr/local/share/vulkan",
- "/usr/local/etc/vulkan",
+ "/usr/local/etc/vulkan",
+ "/run/opengl-driver/share/vulkan",
+ "/run/opengl-driver-32/share/vulkan",
]
if "FLATPAK_ID" in os.environ:
__vk_icd_dirs += [