sdl3: fix zenity support

zenity is used not only for error reporting, but also for file
dialogs if dbus is disabled/unavailable. This needs a patched path too.
This commit is contained in:
Grimmauld 2025-06-06 11:07:53 +02:00
parent 9539fbd235
commit 9149a3a6ed
No known key found for this signature in database

View file

@ -95,6 +95,8 @@ stdenv.mkDerivation (finalAttrs: {
+ lib.optionalString waylandSupport ''
substituteInPlace src/video/wayland/SDL_waylandmessagebox.c \
--replace-fail '"zenity"' '"${lib.getExe zenity}"'
substituteInPlace src/dialog/unix/SDL_zenitydialog.c \
--replace-fail '"zenity"' '"${lib.getExe zenity}"'
'';
strictDeps = true;