mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-15 04:13:11 +00:00
It includes also androidndk and files needed for nimbus-build-system Referenced issue: https://github.com/waku-org/nwaku/issues/3232 Signed-off-by: markoburcul <marko@status.im>
29 lines
480 B
Nix
29 lines
480 B
Nix
{
|
|
pkgs ? import ./pkgs.nix {},
|
|
}:
|
|
|
|
pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
git
|
|
cmake
|
|
openssl
|
|
which
|
|
rustup
|
|
docker
|
|
cargo
|
|
] ++ lib.optionals stdenv.isDarwin [
|
|
libiconv
|
|
darwin.apple_sdk.frameworks.Security
|
|
];
|
|
|
|
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
|
|
pkgs.pcre
|
|
];
|
|
|
|
shellHook = ''
|
|
export ANDROID_SDK_ROOT="${pkgs.androidPkgs.sdk}"
|
|
export ANDROID_NDK_HOME="${pkgs.androidPkgs.ndk}"
|
|
rustup default stable
|
|
'';
|
|
}
|