We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6cba901 + 4bdc2a1 commit e8a52d0Copy full SHA for e8a52d0
pkgs/by-name/we/wechat-uos/package.nix
@@ -210,6 +210,12 @@ buildFHSEnv {
210
211
substituteInPlace $out/share/applications/com.tencent.wechat.desktop \
212
--replace-quiet 'Exec=/usr/bin/wechat' "Exec=$out/bin/wechat-uos --"
213
+
214
+ # See https://github.com/NixOS/nixpkgs/issues/413491
215
+ sed -i \
216
+ -e '/\[Desktop Entry\]/a\' \
217
+ -e 'StartupWMClass=wechat' \
218
+ $out/share/applications/com.tencent.wechat.desktop
219
'';
220
targetPkgs = pkgs: [ wechat-uos-env ];
221
0 commit comments