about summary refs log tree commit diff
path: root/pkgs/tools/typesetting/xmlto
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2008-03-11 09:16:12 +0000
committerLudovic Courtès <ludo@gnu.org>2008-03-11 09:16:12 +0000
commitf528309936e5106b6e72017253349d2f9d92f99e (patch)
treec013a9d551c6fcad43ec4632925f22b854b42cc3 /pkgs/tools/typesetting/xmlto
parentd195542ac31fcd8deec5545225896218acc2be31 (diff)
downloadnixlib-f528309936e5106b6e72017253349d2f9d92f99e.tar
nixlib-f528309936e5106b6e72017253349d2f9d92f99e.tar.gz
nixlib-f528309936e5106b6e72017253349d2f9d92f99e.tar.bz2
nixlib-f528309936e5106b6e72017253349d2f9d92f99e.tar.lz
nixlib-f528309936e5106b6e72017253349d2f9d92f99e.tar.xz
nixlib-f528309936e5106b6e72017253349d2f9d92f99e.tar.zst
nixlib-f528309936e5106b6e72017253349d2f9d92f99e.zip
Remove dependencies on `stdenv' components from `xmlto'.
svn path=/nixpkgs/trunk/; revision=11049
Diffstat (limited to 'pkgs/tools/typesetting/xmlto')
-rw-r--r--pkgs/tools/typesetting/xmlto/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/typesetting/xmlto/default.nix b/pkgs/tools/typesetting/xmlto/default.nix
index 1156b372eea3..0bb2338085cc 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
-, bash, getopt, mktemp, findutils
+, glibc, bash, getopt, mktemp, findutils
 , makeWrapper }:
 
 stdenv.mkDerivation rec {
@@ -12,15 +12,15 @@ stdenv.mkDerivation rec {
 
   patchPhase = ''
     substituteInPlace "xmlto.in" \
-      --replace "/bin/bash" "${stdenv.bash}/bin/bash"
+      --replace "/bin/bash" "${bash}/bin/bash"
     substituteInPlace "xmlto.in" \
-      --replace "/usr/bin/locale" "${stdenv.glibc}/bin/locale"
+      --replace "/usr/bin/locale" "${glibc}/bin/locale"
   '';
 
   configureFlags = ''
     --with-mktemp=${mktemp}/bin/mktemp
     --with-find=${findutils}/bin/find
-    --with-bash=${stdenv.bash}/bin/bash
+    --with-bash=${bash}/bin/bash
     --with-getopt=${getopt}/bin/getopt
   '';