mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
tectonic: Install desktop file.
This commit is contained in:
parent
78d51ab478
commit
4882514960
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user