From 90cdb085c7d72daf04cbfeefe6c9ff868f0c7540 Mon Sep 17 00:00:00 2001 From: Noah Snelson Date: Wed, 17 Apr 2024 22:31:14 -0700 Subject: am2rlauncher: fix error with missing GSettings schemas --- pkgs/by-name/am/am2rlauncher/package.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pkgs/by-name/am') 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 -- cgit 1.4.1