From 0d028c3beecc3a0696835cee5cb6c9784ffd18b7 Mon Sep 17 00:00:00 2001 From: Timo Kaufmann Date: Thu, 10 Jan 2019 22:18:04 +0100 Subject: [PATCH] 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. --- pkgs/applications/editors/neovim/qt.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/editors/neovim/qt.nix b/pkgs/applications/editors/neovim/qt.nix index d562557ae00..3004bf544c4 100644 --- a/pkgs/applications/editors/neovim/qt.nix +++ b/pkgs/applications/editors/neovim/qt.nix @@ -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;