about summary refs log tree commit diff
path: root/pkgs/by-name/am
diff options
context:
space:
mode:
authorNoah Snelson2024-04-17 22:31:14 -0700
committerNoah Snelson2024-04-18 23:11:48 -0700
commit90cdb085c7d72daf04cbfeefe6c9ff868f0c7540 (patch)
treeb4a624879ed099810f25775d6d46c4b2c1f1d63a /pkgs/by-name/am
parent8e5f550aa5b2e761c4bb8b4e65c3240418e82f94 (diff)
am2rlauncher: fix error with missing GSettings schemas
Diffstat (limited to 'pkgs/by-name/am')
-rw-r--r--pkgs/by-name/am/am2rlauncher/package.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/by-name/am/am2rlauncher/package.nix b/pkgs/by-name/am/am2rlauncher/package.nix
index d0dbf909500f..d3893eefb395 100644
--- a/pkgs/by-name/am/am2rlauncher/package.nix
+++ b/pkgs/by-name/am/am2rlauncher/package.nix
@@ -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