add icon and desktop file to nix package

This commit is contained in:
Henry Hiles 2026-03-25 11:52:04 -04:00
commit 0d44d10e05
No known key found for this signature in database

View file

@ -27,6 +27,11 @@ flutter.buildFlutterApplication {
flutter_link_previewer = "sha256-4fuag7lRH5cMBFD3fUzj2K541JwXLoz8HF/4OMr3uhk="; flutter_link_previewer = "sha256-4fuag7lRH5cMBFD3fUzj2K541JwXLoz8HF/4OMr3uhk=";
}; };
postInstall = ''
install -D assets/icon.svg $out/share/icons/hicolor/scalable/apps/nexus.svg
install -D linux/nexus.desktop --target-directory $out/share/applications
'';
meta = { meta = {
description = "A simple and user-friendly Matrix client"; description = "A simple and user-friendly Matrix client";
mainProgram = "nexus"; mainProgram = "nexus";