1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

tor: Fix test suite.

svn path=/nixpkgs/trunk/; revision=21956
This commit is contained in:
Ludovic Courtès 2010-05-24 21:28:43 +00:00
parent 0146e9b7ab
commit bf9d470cc7

View file

@ -8,8 +8,13 @@ stdenv.mkDerivation {
sha256 = "18kz1hs6lvckkddy4y36gi7ly03ar2il2xzkrf8bfgif1gnn1p3c";
};
patchPhase =
# DNS lookups fail in chroots.
'' sed -i "src/or/test.c" -es/localhost/127.0.0.1/g
'';
buildInputs = [libevent openssl zlib];
doCheck = true;
meta = {