diff options
author | Vincent Haupert <mail@vincent-haupert.de> | 2022-10-24 15:33:42 +0200 |
---|---|---|
committer | Vincent Haupert <mail@vincent-haupert.de> | 2022-10-24 15:33:42 +0200 |
commit | 7b5475e8d7b84256e98407fd318d3d91376c7b02 (patch) | |
tree | 6701767dbf66e76d65480b492a70e242a4d728ee /pkgs/tools/security/jadx | |
parent | f93f9f43c6b3347b2091a8a41421d31e84cb9275 (diff) |
jadx: allow local networking on Darwin
Diffstat (limited to 'pkgs/tools/security/jadx')
-rw-r--r-- | pkgs/tools/security/jadx/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/security/jadx/default.nix b/pkgs/tools/security/jadx/default.nix index b5c9d869396ee..83504dd784b2a 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 |