about summary refs log tree commit diff
path: root/pkgs/tools/security/jadx
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2022-10-24 20:58:45 +0300
committerGitHub <noreply@github.com>2022-10-24 20:58:45 +0300
commit969c3ccf30a6cf8f7d431f097743a491b0eda4f7 (patch)
tree052ab6fa3287c3da0b808d5d96d3ed0346f0dcf2 /pkgs/tools/security/jadx
parentab8e65a6de403ef1bcd08c04fe27a043820f2eec (diff)
parent7b5475e8d7b84256e98407fd318d3d91376c7b02 (diff)
Merge pull request #197549 from veehaitch/master
jadx: allow local networking on Darwin
Diffstat (limited to 'pkgs/tools/security/jadx')
-rw-r--r--pkgs/tools/security/jadx/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/security/jadx/default.nix b/pkgs/tools/security/jadx/default.nix
index ca26467502b14..b7928c6dc3306 100644
--- a/pkgs/tools/security/jadx/default.nix
+++ b/pkgs/tools/security/jadx/default.nix
@@ -51,6 +51,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