kompute: unbreak by patching vulkan 1.4 support

This commit is contained in:
PhiliPdB
2025-05-03 12:38:53 +02:00
parent b007e941d7
commit 52afe88d70

View File

@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
vulkan-headers,
vulkan-loader,
@@ -35,6 +36,15 @@ stdenv.mkDerivation rec {
"-DKOMPUTE_OPT_INSTALL=1"
];
patches = [
# FIXME: remove next update
(fetchpatch {
name = "vulkan-14-support.patch";
url = "https://github.com/KomputeProject/kompute/commit/299b11fb4b8a7607c5d2c27e2735f26b06ae8e29.patch";
sha256 = "sha256-JuoTQ+VjIdyF+I1IcT1ofbBjRS0Ibm2w6F2jrRJlx40=";
})
];
nativeBuildInputs = [
cmake
ninja