From d35b77a922e07090832647bbc5530263309c2144 Mon Sep 17 00:00:00 2001 From: Bryan Gardiner Date: Sun, 3 Jan 2021 05:34:37 -0800 Subject: [PATCH] gramps: move intltool from buildInputs to nativeBuildInputs When intltool is in buildInputs, setup.py reports: No intltool or version < 0.25.0, build_intl is aborting which prevents Gramps's desktop and MIME (and AppData) entries from being generated and installed. When intltool is moved to nativeBuildInputs, these files are installed under share/ as expected. --- pkgs/applications/misc/gramps/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/gramps/default.nix b/pkgs/applications/misc/gramps/default.nix index 1ef00efaf7b..6d28abb737f 100644 --- a/pkgs/applications/misc/gramps/default.nix +++ b/pkgs/applications/misc/gramps/default.nix @@ -12,8 +12,8 @@ in buildPythonApplication rec { version = "5.1.3"; pname = "gramps"; - nativeBuildInputs = [ wrapGAppsHook gettext ]; - buildInputs = [ intltool gtk3 gobject-introspection pango gexiv2 ] + nativeBuildInputs = [ wrapGAppsHook intltool gettext ]; + buildInputs = [ gtk3 gobject-introspection pango gexiv2 ] # Map support ++ stdenv.lib.optional enableOSM osm-gps-map # Graphviz support