libxslt: Fix propagation of the libxml2 setup hook

wip/yesman
Eelco Dolstra 10 years ago
parent 880616c353
commit 1e5242931b
  1. 9
      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";

Loading…
Cancel
Save