From 91a6079e593c40ef8ef2e52674f4ce9f50af3bef Mon Sep 17 00:00:00 2001 From: Alya Sirko Date: Sat, 27 Aug 2022 16:43:21 +0300 Subject: [PATCH] be pure and add dart --- .drone.yml | 2 +- shell.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 67dc2567..875255c4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,6 +5,6 @@ name: default steps: - name: build commands: - - nix-shell --run "flutter build apk --split-per-abi" + - nix-shell --pure --run "flutter build apk --split-per-abi" environment: NIX_PATH: "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:/nix/var/nix/profiles/per-user/root/channels" diff --git a/shell.nix b/shell.nix index 893e6913..3f12f50d 100644 --- a/shell.nix +++ b/shell.nix @@ -1,5 +1,5 @@ { pkgs ? import {} }: pkgs.mkShell { - nativeBuildInputs = [ pkgs.flutter ]; + nativeBuildInputs = with pkgs; [ flutter dart ]; }