# Pastebin Df6iA96U with import ~/src/nixpkgs { crossSystem = { config = "aarch64-unknown-linux-android"; useAndroidPrebuilt = true; ndkVer = "18b"; sdkVer = "24"; }; }; let protobufWithlibcxx = pkgs.protobuf2_5.overrideAttrs(oldAttrs: rec { configureFlags = [ "CFLAGS=-stdlib=libc++" "CXXFLAGS=-stdlib=libc++" ]; }); in mkShell { shell = "zsh"; buildInputs = [ protobufWithlibcxx zlib ]; # your dependencies here }