mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
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:
parent
9539fbd235
commit
9149a3a6ed
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue