From 7bd84953700e9eca107f90370ab437834438ad8d Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 7 Oct 2017 12:51:16 +0200 Subject: [PATCH] gnome3.gnome-dictionary: Rely on XML_CATALOG_FILES variable --- .../gnome-3/core/gnome-dictionary/default.nix | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/pkgs/desktops/gnome-3/core/gnome-dictionary/default.nix b/pkgs/desktops/gnome-3/core/gnome-dictionary/default.nix index da28d638262..72d1602eee4 100644 --- a/pkgs/desktops/gnome-3/core/gnome-dictionary/default.nix +++ b/pkgs/desktops/gnome-3/core/gnome-dictionary/default.nix @@ -11,19 +11,9 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ gnome3.defaultIconTheme ]; nativeBuildInputs = [ meson ninja pkgconfig wrapGAppsHook libxml2 gettext itstool - desktop_file_utils appstream-glib libxslt docbook_xsl ]; + desktop_file_utils appstream-glib libxslt docbook_xsl docbook_xml_dtd_43]; buildInputs = [ gtk glib gnome3.gsettings_desktop_schemas ]; - postPatch = '' - substituteInPlace data/meson.build --replace \ - "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" \ - "${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl" - - substituteInPlace data/gnome-dictionary.xml --replace \ - http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd \ - ${docbook_xml_dtd_43}/xml/dtd/docbook/docbookx.dtd - ''; - checkPhase = "meson test"; meta = with stdenv.lib; {