Skip to content

Instantly share code, notes, and snippets.

@Jomik
Created April 19, 2019 10:33
Show Gist options
  • Save Jomik/2dc34f688761c930ba85bf9007931847 to your computer and use it in GitHub Desktop.
Save Jomik/2dc34f688761c930ba85bf9007931847 to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
let
inherit (pkgs) mkShell;
nur.repos.jomik = import (builtins.fetchTarball "https://gitlab.com/Jomik/nur-expressions/-/archive/master/nur-expressions-master.tar.gz") { inherit pkgs; };
androidHome = nur.repos.jomik.androidsdk.environment {
acceptLicenses = true;
platforms = [ 26 25 24 23 ];
buildTools = [ "25.0.2" "25.0.3" "26.0.3" "26.0.1" "23.0.2" "23.0.1" ];
};
in mkShell {
ANDROID_HOME = "${androidHome}";
JAVA_HOME = "${jdk.home}";
buildInputs = with pkgs; [
androidHome
chromium
docker_compose
graphicsmagick
libreoffice-fresh
mariadb
mycli
nodejs-10_x
react-native-debugger
yarn
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment