tor: sandbox is no longer broken on aarch64-linux
This was fixed in https://gitlab.torproject.org/tpo/core/tor/-/merge_requests/574 by @delroth.
This commit is contained in:
parent
734f17ad1f
commit
338121d875
@ -91,12 +91,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
[ "--enable-gpl" ]
|
||||
++
|
||||
# cross compiles correctly but needs the following
|
||||
lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ "--disable-tool-name-check" ]
|
||||
++
|
||||
# sandbox is broken on aarch64-linux https://gitlab.torproject.org/tpo/core/tor/-/issues/40599
|
||||
lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
|
||||
"--disable-seccomp"
|
||||
];
|
||||
lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ "--disable-tool-name-check" ];
|
||||
|
||||
NIX_CFLAGS_LINK = lib.optionalString stdenv.cc.isGNU "-lgcc_s";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user