about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2022-07-03 13:20:52 +0800
committerPeter Hoeg <peter@hoeg.com>2022-07-08 16:43:59 +0800
commit42100e31bfa5ad169e7bc7356ad83fe9f817e34e (patch)
tree6df8ac7a1d427db9a0e104abb9242cfbcb5e3b20
parente464e032d88fe7716cdd6ccf491206c06ab43b31 (diff)
dosbox: use SDL_compat for Wayland support
-rw-r--r--pkgs/applications/emulators/dosbox/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/emulators/dosbox/default.nix b/pkgs/applications/emulators/dosbox/default.nix
index 87ac444ae4919..b197742ce2767 100644
--- a/pkgs/applications/emulators/dosbox/default.nix
+++ b/pkgs/applications/emulators/dosbox/default.nix
@@ -1,7 +1,8 @@
 { lib
 , stdenv
 , fetchurl
-, SDL
+, autoreconfHook
+, SDL_compat
 , SDL_net
 , SDL_sound
 , copyDesktopItems
@@ -22,12 +23,13 @@ stdenv.mkDerivation rec {
   };
 
   nativeBuildInputs = [
+    autoreconfHook
     copyDesktopItems
     graphicsmagick
   ];
 
   buildInputs = [
-    SDL
+    SDL_compat
     SDL_net
     SDL_sound
     libGL