diff options
author | dev-null-undefined <martinkos007@gmail.com> | 2023-01-23 03:23:59 +0100 |
---|---|---|
committer | dev-null-undefined <martinkos007@gmail.com> | 2023-01-23 03:23:59 +0100 |
commit | a7f3447fbbca8ec524801bfaf512a74ee170996e (patch) | |
tree | 617d4a806afa3b2632e496e23aa27953db2b68d4 /pkgs/applications/networking/instant-messengers/armcord | |
parent | 9d801f40e6f7a46fe47204547cd286ba20f354dc (diff) |
armcord: fix gsettings crash when selecting file
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/armcord')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/armcord/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/armcord/default.nix b/pkgs/applications/networking/instant-messengers/armcord/default.nix index bfe7ca2fcbd8..0c43ffbeea91 100644 --- a/pkgs/applications/networking/instant-messengers/armcord/default.nix +++ b/pkgs/applications/networking/instant-messengers/armcord/default.nix @@ -4,6 +4,7 @@ , autoPatchelfHook , dpkg , makeWrapper +, wrapGAppsHook , alsa-lib , at-spi2-atk , at-spi2-core @@ -53,7 +54,9 @@ stdenv.mkDerivation rec { }; }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); - nativeBuildInputs = [ autoPatchelfHook dpkg makeWrapper ]; + nativeBuildInputs = [ autoPatchelfHook dpkg makeWrapper wrapGAppsHook ]; + + dontWrapGApps = true; buildInputs = [ alsa-lib @@ -109,6 +112,8 @@ stdenv.mkDerivation rec { # Wrap the startup command makeWrapper $out/opt/ArmCord/armcord $out/bin/armcord \ + "''${gappsWrapperArgs[@]}" \ + --prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \ --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath buildInputs}" \ --suffix PATH : ${lib.makeBinPath [ xdg-utils ]} \ "''${gappsWrapperArgs[@]}" |