From 1e5242931b938e2e5ae79ee7c7d2cf567024090b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 25 Nov 2014 17:52:43 +0100 Subject: [PATCH] libxslt: Fix propagation of the libxml2 setup hook --- pkgs/development/libraries/libxslt/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/libxslt/default.nix b/pkgs/development/libraries/libxslt/default.nix index fd84c53c88fd..c5b91f3c4910 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";