summary refs log tree commit diff
path: root/pkgs/development/libraries/libxslt
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2007-10-18 21:08:47 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2007-10-18 21:08:47 +0000
commiteaa4db148dc402f7a124bc9c17583067710a7814 (patch)
tree91178298375eb468e36b34f44e24d9b6c8343cbc /pkgs/development/libraries/libxslt
parentf6073d7f348309397e30f6bc1ec1127d244756ae (diff)
downloadnixlib-eaa4db148dc402f7a124bc9c17583067710a7814.tar
nixlib-eaa4db148dc402f7a124bc9c17583067710a7814.tar.gz
nixlib-eaa4db148dc402f7a124bc9c17583067710a7814.tar.bz2
nixlib-eaa4db148dc402f7a124bc9c17583067710a7814.tar.lz
nixlib-eaa4db148dc402f7a124bc9c17583067710a7814.tar.xz
nixlib-eaa4db148dc402f7a124bc9c17583067710a7814.tar.zst
nixlib-eaa4db148dc402f7a124bc9c17583067710a7814.zip
* libxml2 / libxslt: provide a setup hook that prevents xmllint and
  xsltproc from downloading DTDs from the network, which is impure.
  This caused a lot of problems with Gnome builds in the build farm,
  because those downloads are slow and would sometimes fail.

  The setup hook also sets up $XML_CATALOG_FILES.

svn path=/nixpkgs/trunk/; revision=9471
Diffstat (limited to 'pkgs/development/libraries/libxslt')
-rw-r--r--pkgs/development/libraries/libxslt/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libxslt/default.nix b/pkgs/development/libraries/libxslt/default.nix
index 69efd18753e8..896d0fc563bb 100644
--- a/pkgs/development/libraries/libxslt/default.nix
+++ b/pkgs/development/libraries/libxslt/default.nix
@@ -3,10 +3,11 @@
 assert libxml2 != null;
 
 stdenv.mkDerivation {
-  name = "libxslt-1.1.21";
+  name = "libxslt-1.1.22";
   src = fetchurl {
-    url = ftp://xmlsoft.org/libxml2/libxslt-1.1.21.tar.gz;
-    sha256 = "1q2lzdp75lx9w4mxgg99znnk94aacn34m7csmbf2kdwvnb7d9vyc";
+    url = ftp://xmlsoft.org/libxml2/libxslt-1.1.22.tar.gz;
+    sha256 = "1nj9pvn4ibhwxpl3ry9n6d7jahppcnqc7mi87nld4vsr2vp3j7sf";
   };
   buildInputs = [libxml2];
+  postInstall = "ensureDir $out/nix-support; ln -s ${libxml2}/nix-support/setup-hook $out/nix-support/";
 }