diff --git a/pkgs/tools/misc/szyszka/default.nix b/pkgs/tools/misc/szyszka/default.nix index b1e68b327b24..980b37a910df 100644 --- a/pkgs/tools/misc/szyszka/default.nix +++ b/pkgs/tools/misc/szyszka/default.nix @@ -42,6 +42,18 @@ rustPlatform.buildRustPackage rec { Foundation ]); + postInstall = '' + install -m 444 \ + -D data/com.github.qarmin.szyszka.desktop \ + -t $out/share/applications + install -m 444 \ + -D data/com.github.qarmin.szyszka.metainfo.xml \ + -t $out/share/metainfo + install -m 444 \ + -D data/icons/com.github.qarmin.szyszka.svg \ + -t $out/share/icons/hicolor/scalable/apps + ''; + meta = with lib; { description = "Simple but powerful and fast bulk file renamer"; homepage = "https://github.com/qarmin/szyszka";