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