lapce: use upstream .desktop file

+2 -14
+2 -14
pkgs/applications/editors/lapce/default.nix
··· 7 7 , pkg-config 8 8 , perl 9 9 , fontconfig 10 - , copyDesktopItems 11 - , makeDesktopItem 12 10 , glib 13 11 , gtk3 14 12 , openssl ··· 92 90 cmake 93 91 pkg-config 94 92 perl 95 - copyDesktopItems 96 93 wrapGAppsHook # FIX: No GSettings schemas are installed on the system 97 94 gobject-introspection 98 95 ]; ··· 116 113 ]; 117 114 118 115 postInstall = '' 119 - install -Dm0644 $src/extra/images/logo.svg $out/share/icons/hicolor/scalable/apps/lapce.svg 116 + install -Dm0644 $src/extra/images/logo.svg $out/share/icons/hicolor/scalable/apps/dev.lapce.lapce.svg 117 + install -Dm0644 $src/extra/linux/dev.lapce.lapce.desktop $out/share/applications/lapce.desktop 120 118 ''; 121 - 122 - desktopItems = [ (makeDesktopItem { 123 - name = "lapce"; 124 - exec = "lapce %F"; 125 - icon = "lapce"; 126 - desktopName = "Lapce"; 127 - comment = meta.description; 128 - genericName = "Code Editor"; 129 - categories = [ "Development" "Utility" "TextEditor" ]; 130 - }) ]; 131 119 132 120 passthru.updateScript = nix-update-script { }; 133 121