From 52afe88d7068ba500ec23e35bac172d353e9a2b5 Mon Sep 17 00:00:00 2001 From: PhiliPdB Date: Sat, 3 May 2025 12:38:53 +0200 Subject: [PATCH] kompute: unbreak by patching vulkan 1.4 support --- pkgs/development/libraries/kompute/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/libraries/kompute/default.nix b/pkgs/development/libraries/kompute/default.nix index 6bed23f4eb94..61da508306c6 100644 --- a/pkgs/development/libraries/kompute/default.nix +++ b/pkgs/development/libraries/kompute/default.nix @@ -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