1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

tor: disable parallel checking

This commit is contained in:
Jan Malakhovski 2018-09-05 01:13:16 +00:00
parent 20106e1066
commit e48f2d0226

View file

@ -23,8 +23,6 @@ stdenv.mkDerivation rec {
outputs = [ "out" "geoip" ];
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libevent openssl zlib ] ++
stdenv.lib.optionals stdenv.isLinux [ libseccomp systemd libcap ];
@ -37,14 +35,17 @@ stdenv.mkDerivation rec {
--replace 'exec torsocks' 'exec ${torsocks}/bin/torsocks'
'';
enableParallelBuilding = true;
enableParallelChecking = false; # 4 tests fail randomly
doCheck = true;
postInstall = ''
mkdir -p $geoip/share/tor
mv $out/share/tor/geoip{,6} $geoip/share/tor
rm -rf $out/share/tor
'';
doCheck = true;
passthru.updateScript = import ./update.nix {
inherit (stdenv) lib;
inherit