libxslt: Fix propagation of the libxml2 setup hook

This commit is contained in:
Eelco Dolstra 2014-11-25 17:52:43 +01:00
parent 880616c353
commit 1e5242931b

View File

@ -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";