be pure and add dart

This commit is contained in:
Alya Sirko 2022-08-27 16:43:21 +03:00
parent e06b143325
commit 91a6079e59
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -1,5 +1,5 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = [ pkgs.flutter ];
nativeBuildInputs = with pkgs; [ flutter dart ];
}