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.
This commit is contained in:
~noodlez1232
2024-05-11 20:14:23 -07:00
parent 62e7060bba
commit 41a5669425
+5 -1
View File
@@ -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";
};
}