1
Fork 0

dart(freeform-gradient): Add niv to shell.nix

Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
nanashi0x74 2020-10-19 13:34:22 +02:00 committed by prescientmoon
parent 0e87110ade
commit c74a02abb5
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -1,10 +1,16 @@
{ sources ? import ./nix/sources.nix }: { sources ? import ./nix/sources.nix }:
let let
pkgs = import sources.nixpkgs {}; pkgs = import sources.nixpkgs { config.android_sdk.accept_license = true;};
android = pkgs.callPackage ./nix/android.nix { }; android = pkgs.callPackage ./nix/android.nix { };
in pkgs.mkShell { in pkgs.mkShell {
buildInputs = [ pkgs.flutter pkgs.jdk android.platform-tools ]; buildInputs = with pkgs; [
# from pkgs
flutter
jdk
niv
#from ./nix/*
android.platform-tools ];
ANDROID_HOME = "${android.androidsdk}/libexec/android-sdk"; ANDROID_HOME = "${android.androidsdk}/libexec/android-sdk";
JAVA_HOME = pkgs.jdk; JAVA_HOME = pkgs.jdk;