From bdef41b8a19cfc70bf1bdd78817102b98dc99132 Mon Sep 17 00:00:00 2001 From: pancaek <20342389+pancaek@users.noreply.github.com> Date: Sun, 15 Feb 2026 17:58:20 -0800 Subject: [PATCH] pokefinder: move icon to spec-compliant location --- pkgs/by-name/po/pokefinder/package.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 = [