dart(freeform-gradient): Add niv to shell.nix
Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
parent
0e87110ade
commit
c74a02abb5
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue