warzone2100: fixup build after vulkan update

This commit is contained in:
Vladimír Čunát 2023-08-28 07:57:30 +02:00
parent f3e3ec66aa
commit bffe2f189e
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -88,6 +88,9 @@ stdenv.mkDerivation rec {
--replace '"which "' '"${which}/bin/which "'
substituteInPlace lib/exceptionhandler/exceptionhandler.cpp \
--replace "which %s" "${which}/bin/which %s"
# https://github.com/Warzone2100/warzone2100/pull/3353
substituteInPlace lib/ivis_opengl/gfx_api_vk.cpp \
--replace vk::throwResultException vk::detail::throwResultException
'';
cmakeFlags = [