diff options
author | ~noodlez1232 <contact@nathanielbarragan.xyz> | 2024-05-11 17:33:36 -0700 |
---|---|---|
committer | ~noodlez1232 <contact@nathanielbarragan.xyz> | 2024-05-11 20:14:23 -0700 |
commit | 41a56694251e3e08d5ed5239e14b0495f2fdce8e (patch) | |
tree | 3c985797e1c82ee8a824a279ef1910dfbc4fae60 | |
parent | 62e7060bbafc991135466e85eb39ffd9b8cb2990 (diff) |
vbam: Fix gsettings problems.
Solution inspired by #305611. If VBAm was used on a system without any gsettings schemas (common on non-GNOME installs), trying to do any sort of opening of directories or other things that require those schemas would cause a hang-then-crash situation.
-rw-r--r-- | pkgs/applications/emulators/vbam/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/emulators/vbam/default.nix b/pkgs/applications/emulators/vbam/default.nix index 80fd7636aacbf..3e7a7e2f47cd8 100644 --- a/pkgs/applications/emulators/vbam/default.nix +++ b/pkgs/applications/emulators/vbam/default.nix @@ -14,6 +14,8 @@ , sfml , zip , zlib +, wrapGAppsHook3 +, gsettings-desktop-schemas }: stdenv.mkDerivation rec { @@ -26,7 +28,7 @@ stdenv.mkDerivation rec { sha256 = "sha256-t5/CM5KXDG0OCByu7mUyuC5NkYmB3BFmEHHgnMY05nE="; }; - nativeBuildInputs = [ cmake pkg-config ]; + nativeBuildInputs = [ cmake pkg-config wrapGAppsHook3 ]; buildInputs = [ cairo @@ -41,6 +43,7 @@ stdenv.mkDerivation rec { zlib wxGTK32 gtk3 + gsettings-desktop-schemas ]; cmakeFlags = [ @@ -56,5 +59,6 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ lassulus netali ]; homepage = "https://vba-m.com/"; platforms = lib.platforms.linux; + mainProgram = "visualboyadvance-m"; }; } |