git.iko.soy/typeable/nixpkgs
on master help sign in
neovim-qt: add desktop file to wrapper (#53777)

My recent change in #53447 caused neovim-qt to no longer be recognized as a desktop application.

commit0d028c3beecc3a0696835cee5cb6c9784ffd18b7 authorTimo Kaufmann <timokau@zoho.com> dateThu 10 Jan 2019, 22:18 (8 years ago) parenta4fa9e8
1 file changed+4
pkgs/applications/editors/neovim/qt.nix+4
pkgs/applications/editors/neovim/qt.nix+4
@@ -58,6 +58,10 @@ in
5858 '' else ''
5959 makeWrapper '${unwrapped}/bin/nvim-qt' "$out/bin/nvim-qt" \
6060 --prefix PATH : "${neovim}/bin"
61+
62+ # link .desktop file
63+ mkdir -p "$out/share"
64+ ln -s '${unwrapped}/share/applications' "$out/share/applications"
6165 '';
6266
6367 preferLocalBuild = true;