From 492de7bb2b62f83f94e732bebb7d21a746dce113 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 8 Sep 2020 05:35:27 +0200 Subject: [PATCH] mypaint: fix crash without hicolor-icon-theme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mypaint seems to check for a presence of this theme scaffold and crashes when not present. Let’s add this since it weights almost nothing. --- pkgs/applications/graphics/mypaint/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/graphics/mypaint/default.nix b/pkgs/applications/graphics/mypaint/default.nix index b4dd86c37265..7267e8401600 100644 --- a/pkgs/applications/graphics/mypaint/default.nix +++ b/pkgs/applications/graphics/mypaint/default.nix @@ -8,6 +8,7 @@ , librsvg , gobject-introspection , libmypaint +, hicolor-icon-theme , mypaint-brushes , gdk-pixbuf , pkgconfig @@ -36,7 +37,9 @@ in buildPythonApplication rec { swig wrapGAppsHook gobject-introspection # for setup hook + hicolor-icon-theme # fór setup hook ]; + buildInputs = [ gtk3 gdk-pixbuf @@ -48,6 +51,9 @@ in buildPythonApplication rec { librsvg pycairo pygobject3 + + # Mypaint checks for a presence of this theme scaffold and crashes when not present. + hicolor-icon-theme ]; propagatedBuildInputs = [