diff --git a/pkgs/tools/security/jadx/default.nix b/pkgs/tools/security/jadx/default.nix index b5c9d869396e..83504dd784b2 100644 --- a/pkgs/tools/security/jadx/default.nix +++ b/pkgs/tools/security/jadx/default.nix @@ -47,6 +47,9 @@ in stdenv.mkDerivation { nativeBuildInputs = [ gradle jdk makeWrapper ]; + # Otherwise, Gradle fails with `java.net.SocketException: Operation not permitted` + __darwinAllowLocalNetworking = true; + buildPhase = '' # The installDist Gradle build phase tries to copy some dependency .jar # files multiple times into the build directory. This ends up failing when