diff --git a/dart/freeform-gradient/shell.nix b/dart/freeform-gradient/shell.nix index 234ed73..b7998f8 100644 --- a/dart/freeform-gradient/shell.nix +++ b/dart/freeform-gradient/shell.nix @@ -1,10 +1,16 @@ { sources ? import ./nix/sources.nix }: let - pkgs = import sources.nixpkgs {}; + pkgs = import sources.nixpkgs { config.android_sdk.accept_license = true;}; android = pkgs.callPackage ./nix/android.nix { }; 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"; JAVA_HOME = pkgs.jdk;