From e71f3a7ef823decbfc9efe46231c849804c241b3 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Tue, 22 Feb 2022 14:13:02 +0000 Subject: [PATCH] pinta: re-added missing runtime icons On PR #155224, we switched to `dotnet build` to copy the Pinta assets to the derivation. This worked mostly fine, however it seems to have missed the runtime icons. We didn't catch the issue on #155224 neither, probably because of some resource cache somewhere. This commit re-adds the missing runtime icons by copying them manually. --- pkgs/applications/graphics/pinta/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/graphics/pinta/default.nix b/pkgs/applications/graphics/pinta/default.nix index ed2aae72d47a..b598c53b8947 100644 --- a/pkgs/applications/graphics/pinta/default.nix +++ b/pkgs/applications/graphics/pinta/default.nix @@ -63,6 +63,10 @@ buildDotnetModule rec { # Rename the binary mv "$out/bin/Pinta" "$out/bin/pinta" + # Copy runtime icons + mkdir -p $out/share/icons/hicolor/16x16/ + cp -r Pinta.Resources/icons/hicolor/16x16/* $out/share/icons/hicolor/16x16/ + # Install dotnet build installer/linux/install.proj \ -target:Install \