am2rlauncher: fix error with missing GSettings schemas

This commit is contained in:
Noah Snelson 2024-04-17 22:31:14 -07:00
parent 8e5f550aa5
commit 90cdb085c7
1 changed files with 5 additions and 2 deletions

View File

@ -17,6 +17,8 @@
, fetchFromGitHub
, buildFHSEnv
, glib-networking
, wrapGAppsHook
, gsettings-desktop-schemas
}:
let
am2r-run = buildFHSEnv {
@ -69,7 +71,9 @@ buildDotnetModule {
openssl
];
buildInputs = [ gtk3 ];
nativeBuildInputs = [ wrapGAppsHook ];
buildInputs = [ gtk3 gsettings-desktop-schemas glib-networking ];
patches = [ ./am2r-run-binary.patch ];
@ -78,7 +82,6 @@ buildDotnetModule {
postFixup = ''
wrapProgram $out/bin/AM2RLauncher.Gtk \
--prefix PATH : ${lib.makeBinPath [ am2r-run xdelta file openjdk patchelf ]} \
--prefix GIO_EXTRA_MODULES : ${glib-networking}/lib/gio/modules
mkdir -p $out/share/icons
install -Dm644 $src/AM2RLauncher/distribution/linux/AM2RLauncher.png $out/share/icons/AM2RLauncher.png