about summary refs log tree commit diff
path: root/pkgs/applications/office/gnumeric
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2018-10-12 22:56:15 +0000
committervolth <volth@volth.com>2018-10-12 22:56:15 +0000
commitc0fed1ba7740070cb20454d6aa77f087751a2a2b (patch)
treeed60b74a1d698af2234e6bd537f5af3ab836b2ae /pkgs/applications/office/gnumeric
parentef93155f60284e7cd694ded81bd15f07997575bc (diff)
perlXMLParser -> perlPackages.XMLParser
Diffstat (limited to 'pkgs/applications/office/gnumeric')
-rw-r--r--pkgs/applications/office/gnumeric/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/applications/office/gnumeric/default.nix b/pkgs/applications/office/gnumeric/default.nix
index c155d696d39fb..b1aed5e5f59dc 100644
--- a/pkgs/applications/office/gnumeric/default.nix
+++ b/pkgs/applications/office/gnumeric/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, intltool, perl, perlXMLParser
+{ stdenv, fetchurl, pkgconfig, intltool, perlPackages
 , goffice, gnome3, makeWrapper, gtk3, bison, pythonPackages
 , itstool
 }:
@@ -20,19 +20,19 @@ in stdenv.mkDerivation rec {
 
   prePatch = ''
     substituteInPlace doc/C/gnumeric.xml \
-	--replace http://www.oasis-open.org/docbook/xml/4.5/ent/isopub.ent ${isopub} \
-	--replace http://www.oasis-open.org/docbook/xml/4.5/ent/isonum.ent ${isonum} \
-	--replace http://www.oasis-open.org/docbook/xml/4.5/ent/isogrk1.ent ${isogrk1}
+      --replace http://www.oasis-open.org/docbook/xml/4.5/ent/isopub.ent ${isopub} \
+      --replace http://www.oasis-open.org/docbook/xml/4.5/ent/isonum.ent ${isonum} \
+      --replace http://www.oasis-open.org/docbook/xml/4.5/ent/isogrk1.ent ${isogrk1}
   '';
 
   nativeBuildInputs = [ pkgconfig ];
 
   # ToDo: optional libgda, introspection?
   buildInputs = [
-    intltool perl perlXMLParser bison
+    intltool bison
     goffice gtk3 makeWrapper gnome3.defaultIconTheme
     python pygobject3 itstool
-  ];
+  ] ++ (with perlPackages; [ perl XMLParser ]);
 
   enableParallelBuilding = true;