Unverified Commit 52afe88d authored by PhiliPdB's avatar PhiliPdB
Browse files

kompute: unbreak by patching vulkan 1.4 support

parent b007e941
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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