vkquake: fix build with glslang 16

Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
Marcin Serwin
2025-10-31 22:49:09 +01:00
parent 20eaf06340
commit 35c51e32d3
+11
View File
@@ -1,6 +1,7 @@
{
SDL2,
fetchFromGitHub,
fetchpatch2,
flac,
glslang,
gzip,
@@ -20,6 +21,7 @@
vulkan-loader,
copyDesktopItems,
makeDesktopItem,
spirv-tools,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "vkquake";
@@ -35,6 +37,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
makeWrapper
glslang
spirv-tools
meson
ninja
pkg-config
@@ -57,6 +60,14 @@ stdenv.mkDerivation (finalAttrs: {
vulkan-headers
];
patches = [
(fetchpatch2 {
# https://github.com/Novum/vkQuake/pull/809
url = "https://github.com/Novum/vkQuake/commit/85ddf2386f15944c26317a763d4044077fc8731f.patch?full_index=1";
hash = "sha256-t+atA+ilCwGwLpql5BZO2OF4Xh1KdzRFjOpglTIA/KY=";
})
];
mesonFlags = [ "-Ddo_userdirs=enabled" ];
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {