From 9e58c856a0f73529bef7b0c260c9c3290b02b85a Mon Sep 17 00:00:00 2001 From: Potato Hatsue <1793913507@qq.com> Date: Mon, 18 Jan 2021 10:20:50 +0800 Subject: [PATCH] fcitx5-with-addons: symlink .desktop to autostart Co-authored-by: Sandro --- pkgs/tools/inputmethods/fcitx5/with-addons.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/inputmethods/fcitx5/with-addons.nix b/pkgs/tools/inputmethods/fcitx5/with-addons.nix index 2ee363f4fece..17501d5f3622 100644 --- a/pkgs/tools/inputmethods/fcitx5/with-addons.nix +++ b/pkgs/tools/inputmethods/fcitx5/with-addons.nix @@ -19,7 +19,7 @@ symlinkJoin { rm $out/$autostart cp ${fcitx5}/$desktop $out/$desktop sed -i $out/$desktop -e "s|^Exec=.*|Exec=$out/bin/fcitx5|g" - cp $out/$desktop $out/$autostart + ln -s $out/$desktop $out/$autostart ''; meta = fcitx5.meta;