mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
kompute: unbreak by patching vulkan 1.4 support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user