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.
This commit is contained in:
Timo Kaufmann 2019-01-10 22:18:04 +01:00 committed by GitHub
parent a4fa9e8a1d
commit 0d028c3bee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,10 @@ in
'' else ''
makeWrapper '${unwrapped}/bin/nvim-qt' "$out/bin/nvim-qt" \
--prefix PATH : "${neovim}/bin"
# link .desktop file
mkdir -p "$out/share"
ln -s '${unwrapped}/share/applications' "$out/share/applications"
'';
preferLocalBuild = true;