From 9989591b3238c3cfe84eff118fac0aa1986dedde Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 1 Nov 2021 10:37:49 +0100 Subject: [PATCH] monado: fix build failure related to VK_NULL_HANDLE change --- pkgs/applications/graphics/monado/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/applications/graphics/monado/default.nix b/pkgs/applications/graphics/monado/default.nix index fe5f99de121f..219613ad0ce5 100644 --- a/pkgs/applications/graphics/monado/default.nix +++ b/pkgs/applications/graphics/monado/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitLab +, fetchpatch , writeText , cmake , doxygen @@ -54,6 +55,15 @@ stdenv.mkDerivation rec { sha256 = "07zxs96i3prjqww1f68496cl2xxqaidx32lpfyy0pn5am4c297zc"; }; + patches = [ + # https://github.com/NixOS/nixpkgs/issues/137245 + # Fix warning after Vulkan 1.2.174 VK_NULL_HANDLE change + (fetchpatch { + url = "https://gitlab.freedesktop.org/monado/monado/-/commit/c47775a95d8e139a2f234063793eb6726f830510.patch"; + sha256 = "093ymvi9ifpk4vyjcwhhci9cnscxwbv5f80xdbppcqa0j92nmkmp"; + }) + ]; + nativeBuildInputs = [ cmake doxygen