summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/emulators/pcem
diff options
context:
space:
mode:
authorpanda2134 <me@panda2134.site>2023-01-19 22:49:26 +0800
committerGitHub <noreply@github.com>2023-01-19 22:49:26 +0800
commitb0d02ef8bad6524dcf00cbecd748128c7c4eef76 (patch)
treec38d3f3c15c312198028c4da37033e9f82cee2d6 /pkgs/applications/emulators/pcem
parente341cd3ba4c5505c5b6e96ac29ade3d84b3a1c1d (diff)
pcem: fix file dialog crash
Diffstat (limited to 'pkgs/applications/emulators/pcem')
-rw-r--r--pkgs/applications/emulators/pcem/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/emulators/pcem/default.nix b/pkgs/applications/emulators/pcem/default.nix
index 22173fe9e085..bd9503f01778 100644
--- a/pkgs/applications/emulators/pcem/default.nix
+++ b/pkgs/applications/emulators/pcem/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, fetchzip, wxGTK32, coreutils, SDL2, openal, alsa-lib, pkg-config
+{ stdenv, lib, fetchzip, wxGTK32, coreutils, SDL2, openal, alsa-lib, pkg-config, gtk3, wrapGAppsHook
, autoreconfHook, withNetworking ? true, withALSA ? true }:
stdenv.mkDerivation rec {
@@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "067pbnc15h6a4pnnym82klr1w8qwfm6p0pkx93gx06wvwqsxvbdv";
};
- nativeBuildInputs = [ autoreconfHook pkg-config ];
- buildInputs = [ wxGTK32 coreutils SDL2 openal ]
+ nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ];
+ buildInputs = [ wxGTK32 coreutils SDL2 openal gtk3 ]
++ lib.optional withALSA alsa-lib;
configureFlags = [ "--enable-release-build" ]