forked from mirrors/nixpkgs
* Workaround for NIXPKGS-52: prevent xsltproc from downloading DTDs.
svn path=/nixpkgs/trunk/; revision=8618
This commit is contained in:
parent
cdad298040
commit
65d14af11b
|
@ -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
|
||||
";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue