tectonic: Install desktop file.
This commit is contained in:
parent
78d51ab478
commit
4882514960
@ -19,6 +19,11 @@ rustPlatform.buildRustPackage rec {
|
|||||||
buildInputs = [ fontconfig harfbuzz openssl ]
|
buildInputs = [ fontconfig harfbuzz openssl ]
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ApplicationServices Cocoa Foundation ]);
|
++ 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;
|
doCheck = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user