diff options
Diffstat (limited to 'android')
| -rw-r--r-- | android/flake.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/android/flake.nix b/android/flake.nix index 0d75da2038..4717083f56 100644 --- a/android/flake.nix +++ b/android/flake.nix @@ -31,6 +31,15 @@ overlays = [ (import rust-overlay) devshell.overlays.default + # Fix that disables autoPatchelfHook on macOS. + # Should be addressed upstream in nixpkgs. + (final: prev: { + protoc-gen-grpc-java = prev.protoc-gen-grpc-java.overrideAttrs (old: { + nativeBuildInputs = + pkgs.lib.remove prev.autoPatchelfHook (old.nativeBuildInputs or []) + ++ pkgs.lib.optionals prev.stdenv.isLinux [prev.autoPatchelfHook]; + }); + }) ]; }; |
