mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
tor: fix tests in darwin sandbox (#566527)
This commit is contained in:
@@ -103,6 +103,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# https://gitlab.torproject.org/tpo/core/tor/-/issues/40912
|
||||
doCheck = !(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch32);
|
||||
|
||||
# some tests (e.g. util/socketpair_ersatz) fail in the darwin sandbox otherwise.
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $geoip/share/tor
|
||||
mv $out/share/tor/geoip{,6} $geoip/share/tor
|
||||
|
||||
Reference in New Issue
Block a user