libxslt: propagating libxml2

svn path=/nixpkgs/branches/stdenv-updates/; revision=10609
This commit is contained in:
Yury G. Kudryashov 2008-02-10 17:41:40 +00:00
parent cc0430ca4b
commit 6e337bd44d

View file

@ -1,6 +1,4 @@
{stdenv, fetchurl, libxml2}:
assert libxml2 != null;
args: with args;
stdenv.mkDerivation {
name = "libxslt-1.1.22";
@ -8,6 +6,6 @@ stdenv.mkDerivation {
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/";
propagatedBuildInputs = [libxml2];
configureFlags = "--enable-shared --disable-static";
}