diff options
| -rw-r--r-- | gnu/packages/vulkan.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm index 5ab1feb465..ea7cdc3ef5 100644 --- a/gnu/packages/vulkan.scm +++ b/gnu/packages/vulkan.scm @@ -485,11 +485,19 @@ and the ICD.") (inputs (list glslang libxrandr vulkan-loader wayland wayland-protocols)) (native-inputs - (list googletest pkg-config python vulkan-volk vulkan-headers)) + (list googletest pkg-config python vulkan-headers)) (arguments (list #:configure-flags #~(list "-DBUILD_TESTS=ON") #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch-libvulkan-file-name + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("vulkaninfo/vulkaninfo_functions.h" + "cube/cube_functions.h") + (("dlopen\\(\"libvulkan.so.1") + (string-append "dlopen(\"" + (search-input-file + inputs "/lib/libvulkan.so.1")))))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? |
