about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2018-07-30 23:05:11 -0700
committerJamey Sharp <jamey@minilop.net>2018-07-30 23:05:11 -0700
commit3a64f5790e9ac26cc665ea096c3a1d9bc16e8958 (patch)
treed3a76676938e6b20bc0fcd8a8e451e68414c45e8 /pkgs/applications/editors
parente32a5dafafb9bbd176264325f1afc034e97e519d (diff)
downloadnixlib-3a64f5790e9ac26cc665ea096c3a1d9bc16e8958.tar
nixlib-3a64f5790e9ac26cc665ea096c3a1d9bc16e8958.tar.gz
nixlib-3a64f5790e9ac26cc665ea096c3a1d9bc16e8958.tar.bz2
nixlib-3a64f5790e9ac26cc665ea096c3a1d9bc16e8958.tar.lz
nixlib-3a64f5790e9ac26cc665ea096c3a1d9bc16e8958.tar.xz
nixlib-3a64f5790e9ac26cc665ea096c3a1d9bc16e8958.tar.zst
nixlib-3a64f5790e9ac26cc665ea096c3a1d9bc16e8958.zip
gnome-builder: ensure gtkdoc can find docbook DTDs
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/gnome-builder/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/applications/editors/gnome-builder/default.nix b/pkgs/applications/editors/gnome-builder/default.nix
index 0a7bc42bd4be..3ed47c14e749 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 = ''