kompute: fix build by upstream patch

This commit is contained in:
Vladimír Čunát 2022-08-24 18:46:02 +02:00
parent d18529e1a0
commit 78d9442565
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -1,6 +1,7 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, cmake , cmake
, vulkan-headers , vulkan-headers
, vulkan-loader , vulkan-loader
@ -20,6 +21,13 @@ stdenv.mkDerivation rec {
sha256 = "sha256-OkVGYh8QrD7JNqWFBLrDTYlk6IYHdvt4i7UtC4sQTzo="; sha256 = "sha256-OkVGYh8QrD7JNqWFBLrDTYlk6IYHdvt4i7UtC4sQTzo=";
}; };
patches = [
(fetchpatch {
url = "https://github.com/KomputeProject/kompute/commit/9a791b161dd58ca927fe090f65fa2b0e5e85e7ca.diff";
sha256 = "OtFTN8sgPlyiMmVzUnqzCkVMKj6DWxbCXtYwkRdEprY=";
})
];
cmakeFlags = [ cmakeFlags = [
"-DKOMPUTE_OPT_INSTALL=1" "-DKOMPUTE_OPT_INSTALL=1"
"-DRELEASE=1" "-DRELEASE=1"