tectonic: Install desktop file.

This commit is contained in:
Doron Behar 2020-11-01 22:30:44 +02:00
parent 78d51ab478
commit 4882514960

View File

@ -19,6 +19,11 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ fontconfig harfbuzz openssl ]
++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ApplicationServices Cocoa Foundation ]);
postInstall = stdenv.lib.optionalString stdenv.isLinux ''
install -D dist/appimage/tectonic.desktop -t $out/share/applications/
install -D dist/appimage/tectonic.svg -t $out/share/icons/hicolor/scalable/apps/
'';
doCheck = true;
meta = with stdenv.lib; {