From c74a02abb5913f4fc9256e4ae440ee906c73258c Mon Sep 17 00:00:00 2001 From: nanashi0x74 Date: Mon, 19 Oct 2020 13:34:22 +0200 Subject: [PATCH] dart(freeform-gradient): Add niv to shell.nix Signed-off-by: prescientmoon --- dart/freeform-gradient/shell.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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;