mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
eaa4db148d
xsltproc from downloading DTDs from the network, which is impure. This caused a lot of problems with Gnome builds in the build farm, because those downloads are slow and would sometimes fail. The setup hook also sets up $XML_CATALOG_FILES. svn path=/nixpkgs/trunk/; revision=9471
14 lines
390 B
Nix
14 lines
390 B
Nix
{stdenv, fetchurl, libxml2}:
|
|
|
|
assert libxml2 != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libxslt-1.1.22";
|
|
src = fetchurl {
|
|
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/";
|
|
}
|