diff options
author | ChaosAttractor <lostattractor@gmail.com> | 2023-01-17 14:34:45 +0800 |
---|---|---|
committer | ChaosAttractor <lostattractor@gmail.com> | 2023-01-17 23:32:12 +0800 |
commit | 2f994a85e102d29f603f06c7dc86fce0bb06fe21 (patch) | |
tree | 37003021a630f381869e02d6715fd963f9c0224b /pkgs/applications/networking/instant-messengers/qq | |
parent | c85d08692966cf022b0a741a794cb1650602d8af (diff) |
qq: remove GTK_IM_MODULE_FILE prefix and add glib to buildInputs to fix input-method not works
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/qq')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/qq/default.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/applications/networking/instant-messengers/qq/default.nix b/pkgs/applications/networking/instant-messengers/qq/default.nix index ac5c075e40aa..bc7b973c7b9b 100644 --- a/pkgs/applications/networking/instant-messengers/qq/default.nix +++ b/pkgs/applications/networking/instant-messengers/qq/default.nix @@ -17,7 +17,6 @@ , at-spi2-core , autoPatchelfHook , wrapGAppsHook -, makeWrapper }: let @@ -43,7 +42,6 @@ stdenv.mkDerivation { nativeBuildInputs = [ autoPatchelfHook wrapGAppsHook - makeWrapper dpkg ]; @@ -52,6 +50,7 @@ stdenv.mkDerivation { at-spi2-core cups gtk3 + glib libdrm libgcrypt libkrb5 @@ -73,9 +72,7 @@ stdenv.mkDerivation { substituteInPlace $out/share/applications/qq.desktop \ --replace "/opt/QQ/qq" "$out/bin/qq" \ --replace "/usr/share" "$out/share" - makeWrapper $out/opt/QQ/qq $out/bin/qq \ - --argv0 "qq" \ - --prefix GTK_IM_MODULE_FILE : "/run/current-system/sw/etc/gtk-3.0/immodules.cache" + ln -s $out/opt/QQ/qq $out/bin/qq runHook postInstall ''; |