summary refs log tree commit diff
path: root/pkgs/development/libraries/libxslt
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-25 17:52:43 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-25 17:52:43 +0100
commit1e5242931b938e2e5ae79ee7c7d2cf567024090b (patch)
tree24fc03c31a0f6aa7ca5b8bcd9c719d2ec0fc81d2 /pkgs/development/libraries/libxslt
parent880616c353630fabb54ca33f8ef61b6be7274b13 (diff)
downloadnixpkgs-1e5242931b938e2e5ae79ee7c7d2cf567024090b.tar
nixpkgs-1e5242931b938e2e5ae79ee7c7d2cf567024090b.tar.gz
nixpkgs-1e5242931b938e2e5ae79ee7c7d2cf567024090b.tar.bz2
nixpkgs-1e5242931b938e2e5ae79ee7c7d2cf567024090b.tar.lz
nixpkgs-1e5242931b938e2e5ae79ee7c7d2cf567024090b.tar.xz
nixpkgs-1e5242931b938e2e5ae79ee7c7d2cf567024090b.tar.zst
nixpkgs-1e5242931b938e2e5ae79ee7c7d2cf567024090b.zip
libxslt: Fix propagation of the libxml2 setup hook
Diffstat (limited to 'pkgs/development/libraries/libxslt')
-rw-r--r--pkgs/development/libraries/libxslt/default.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/development/libraries/libxslt/default.nix b/pkgs/development/libraries/libxslt/default.nix
index fd84c53c88f..c5b91f3c491 100644
--- a/pkgs/development/libraries/libxslt/default.nix
+++ b/pkgs/development/libraries/libxslt/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, libxml2 }:
+{ stdenv, fetchurl, libxml2, findXMLCatalogs }:
 
 stdenv.mkDerivation rec {
   name = "libxslt-1.1.28";
@@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ libxml2 ];
 
+  propagatedBuildInputs = [ findXMLCatalogs ];
+
   patches = stdenv.lib.optionals stdenv.isSunOS [ ./patch-ah.patch ];
 
   configureFlags = [
@@ -21,11 +23,6 @@ stdenv.mkDerivation rec {
     "--without-debugger"
   ];
 
-  postInstall = ''
-    mkdir -p $out/nix-support
-    ln -s ${libxml2}/nix-support/setup-hook $out/nix-support/
-  '';
-
   meta = {
     homepage = http://xmlsoft.org/XSLT/;
     description = "A C library and tools to do XSL transformations";