diff --git a/pkgs/by-name/po/pokefinder/package.nix b/pkgs/by-name/po/pokefinder/package.nix index 5a2671ae2e73..3c30de2aab9e 100644 --- a/pkgs/by-name/po/pokefinder/package.nix +++ b/pkgs/by-name/po/pokefinder/package.nix @@ -7,7 +7,7 @@ cmake, python3, qt6, - imagemagick, + iconConvTools, gitUpdater, }: @@ -40,8 +40,7 @@ stdenv.mkDerivation (finalAttrs: { '' + lib.optionalString (!stdenv.hostPlatform.isDarwin) '' install -D Source/PokeFinder $out/bin/PokeFinder - mkdir -p $out/share/pixmaps - convert "$src/Source/Form/Images/pokefinder.ico[-1]" $out/share/pixmaps/pokefinder.png + icoFileToHiColorTheme $src/Source/Form/Images/pokefinder.ico pokefinder $out '' + '' runHook postInstall @@ -54,7 +53,7 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ copyDesktopItems - imagemagick + iconConvTools ]; desktopItems = [