armcord: fix gsettings crash when selecting file
This commit is contained in:
parent
9d801f40e6
commit
a7f3447fbb
1 changed files with 6 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
||||||
, autoPatchelfHook
|
, autoPatchelfHook
|
||||||
, dpkg
|
, dpkg
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
|
, wrapGAppsHook
|
||||||
, alsa-lib
|
, alsa-lib
|
||||||
, at-spi2-atk
|
, at-spi2-atk
|
||||||
, at-spi2-core
|
, at-spi2-core
|
||||||
|
@ -53,7 +54,9 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||||
|
|
||||||
nativeBuildInputs = [ autoPatchelfHook dpkg makeWrapper ];
|
nativeBuildInputs = [ autoPatchelfHook dpkg makeWrapper wrapGAppsHook ];
|
||||||
|
|
||||||
|
dontWrapGApps = true;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
alsa-lib
|
alsa-lib
|
||||||
|
@ -109,6 +112,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
# Wrap the startup command
|
# Wrap the startup command
|
||||||
makeWrapper $out/opt/ArmCord/armcord $out/bin/armcord \
|
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}" \
|
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath buildInputs}" \
|
||||||
--suffix PATH : ${lib.makeBinPath [ xdg-utils ]} \
|
--suffix PATH : ${lib.makeBinPath [ xdg-utils ]} \
|
||||||
"''${gappsWrapperArgs[@]}"
|
"''${gappsWrapperArgs[@]}"
|
||||||
|
|
Loading…
Reference in a new issue