summary refs log tree commit diff
path: root/pkgs/tools/typesetting/xmlto/default.nix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-09-18 18:22:42 +0000
committerLudovic Courtès <ludo@gnu.org>2009-09-18 18:22:42 +0000
commitee720ec7639198a3ed4e24bc4e1ab19b7b8b3687 (patch)
tree1f74c4be5f68147616795b9e56b9b50216c0cbe8 /pkgs/tools/typesetting/xmlto/default.nix
parent1885909e931c812c730828ac555f051214453f81 (diff)
downloadnixlib-ee720ec7639198a3ed4e24bc4e1ab19b7b8b3687.tar
nixlib-ee720ec7639198a3ed4e24bc4e1ab19b7b8b3687.tar.gz
nixlib-ee720ec7639198a3ed4e24bc4e1ab19b7b8b3687.tar.bz2
nixlib-ee720ec7639198a3ed4e24bc4e1ab19b7b8b3687.tar.lz
nixlib-ee720ec7639198a3ed4e24bc4e1ab19b7b8b3687.tar.xz
nixlib-ee720ec7639198a3ed4e24bc4e1ab19b7b8b3687.tar.zst
nixlib-ee720ec7639198a3ed4e24bc4e1ab19b7b8b3687.zip
xmlto: Remove explicit dependency on Glibc.
svn path=/nixpkgs/trunk/; revision=17261
Diffstat (limited to 'pkgs/tools/typesetting/xmlto/default.nix')
-rw-r--r--pkgs/tools/typesetting/xmlto/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/tools/typesetting/xmlto/default.nix b/pkgs/tools/typesetting/xmlto/default.nix
index d30ddc6e89b0..85d4ee010b38 100644
--- a/pkgs/tools/typesetting/xmlto/default.nix
+++ b/pkgs/tools/typesetting/xmlto/default.nix
@@ -1,6 +1,6 @@
 { fetchurl, stdenv, flex, libxml2, libxslt
 , docbook_xml_dtd_42, docbook_xsl, w3m
-, glibc, bash, getopt, mktemp, findutils
+, bash, getopt, mktemp, findutils
 , makeWrapper }:
 
 stdenv.mkDerivation rec {
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
     substituteInPlace "xmlto.in" \
       --replace "/bin/bash" "${bash}/bin/bash"
     substituteInPlace "xmlto.in" \
-      --replace "/usr/bin/locale" "${glibc}/bin/locale"
+      --replace "/usr/bin/locale" "$(type -P locale)"
   '';
 
   configureFlags = ''
@@ -48,5 +48,7 @@ stdenv.mkDerivation rec {
 
     license = "GPLv2+";
     homepage = http://cyberelk.net/tim/software/xmlto/;
+
+    maintainers = [ stdenv.lib.maintainers.ludo ];
   };
-}
\ No newline at end of file
+}