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 +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a197457d6355..8661c67b83fc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1607,7 +1607,7 @@ let xmlto = import ../tools/typesetting/xmlto { inherit fetchurl stdenv flex libxml2 libxslt docbook_xml_dtd_42 docbook_xsl w3m - glibc bash getopt mktemp findutils makeWrapper; + bash getopt mktemp findutils makeWrapper; }; xmltv = import ../tools/misc/xmltv {