3
0
Fork 0
forked from mirrors/nixpkgs

* Workaround for NIXPKGS-52: prevent xsltproc from downloading DTDs.

svn path=/nixpkgs/trunk/; revision=8618
This commit is contained in:
Eelco Dolstra 2007-04-26 22:00:01 +00:00
parent cdad298040
commit 65d14af11b

View file

@ -13,4 +13,12 @@ stdenv.mkDerivation {
];
configureFlags = "--disable-scrollkeeper";
preConfigure = "
mkdir wrapper
echo \"#! $SHELL\" >> wrapper/xsltproc
echo \"exec `type -tp xsltproc` --nonet \\\"\\$@\\\"\" >> wrapper/xsltproc
chmod +x wrapper/xsltproc
PATH=$(pwd)/wrapper:$PATH
";
}