From 3a64f5790e9ac26cc665ea096c3a1d9bc16e8958 Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Mon, 30 Jul 2018 23:05:11 -0700 Subject: [PATCH] gnome-builder: ensure gtkdoc can find docbook DTDs --- pkgs/applications/editors/gnome-builder/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/applications/editors/gnome-builder/default.nix b/pkgs/applications/editors/gnome-builder/default.nix index 0a7bc42bd4b..3ed47c14e74 100644 --- a/pkgs/applications/editors/gnome-builder/default.nix +++ b/pkgs/applications/editors/gnome-builder/default.nix @@ -1,8 +1,10 @@ { stdenv , desktop-file-utils , docbook_xsl +, docbook_xml_dtd_43 , fetchurl , flatpak +, glibcLocales , gnome3 , gobjectIntrospection , gspell @@ -41,6 +43,8 @@ in stdenv.mkDerivation { #appstream-glib # tests fail if these tools are available desktop-file-utils docbook_xsl + docbook_xml_dtd_43 + glibcLocales # for Meson's gtkdochelper gobjectIntrospection gtk-doc hicolor-icon-theme @@ -91,6 +95,10 @@ in stdenv.mkDerivation { "-Dwith_docs=true" ]; + preInstall = '' + export LC_ALL="en_US.utf-8" + ''; + pythonPath = with python3.pkgs; requiredPythonModules [ pygobject3 ]; preFixup = ''