diff --git a/pkgs/applications/graphics/image-roll/default.nix b/pkgs/applications/graphics/image-roll/default.nix index eb5761fbd554..35f766e21bc8 100644 --- a/pkgs/applications/graphics/image-roll/default.nix +++ b/pkgs/applications/graphics/image-roll/default.nix @@ -24,6 +24,12 @@ rustPlatform.buildRustPackage rec { buildInputs = [ gtk3 ]; + postInstall = '' + install -Dm444 src/resources/com.github.weclaw1.ImageRoll.desktop -t $out/share/applications/ + install -Dm444 src/resources/com.github.weclaw1.ImageRoll.svg -t $out/share/icons/hicolor/scalable/apps/ + install -Dm444 src/resources/com.github.weclaw1.ImageRoll.metainfo.xml -t $out/share/metainfo/ + ''; + meta = with lib; { description = "Simple and fast GTK image viewer with basic image manipulation tools"; homepage = "https://github.com/weclaw1/image-roll";