-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathshell.nix
More file actions
41 lines (38 loc) · 887 Bytes
/
shell.nix
File metadata and controls
41 lines (38 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{ pkgs ? import <nixpkgs> { }, android-nixpkgs ? import <android-nixpkgs> { } }:
with pkgs;
let
sdk = dotnetCorePackages.dotnet_9.sdk;
android-sdk = android-nixpkgs.sdk.${system} (sdkPkgs: with sdkPkgs; [
build-tools-35-0-0
build-tools-34-0-0
build-tools-30-0-0
cmdline-tools-latest
emulator
platform-tools
platforms-android-35
platforms-android-34
platforms-android-30
]);
in
mkShell {
packages = [
sdk
tree
android-sdk
gradle
jdk17
aapt
llvm_18
zip
nuget-to-json
nixpkgs-fmt
nil
jetbrains.rider
nodejs
act
];
DOTNET_ROOT = "${sdk}";
ANDROID_HOME = "${android-sdk}/share/android-sdk";
ANDROID_SDK_ROOT = "${android-sdk}/share/android-sdk";
JAVA_HOME = jdk17.home;
}