-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathflake.nix
32 lines (31 loc) · 814 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
flake-utils = {
url = "github:numtide/flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
};
dart-flutter = {
url = "github:flafydev/dart-flutter-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, flake-utils, dart-flutter }:
flake-utils.lib.eachDefaultSystem
(system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ dart-flutter.overlays.default ];
};
in
{
devShell = pkgs.mkFlutterShell {
android = {
enable = true;
buildToolsVersions = [ "29-0-2" ];
platformsAndroidVersions = [ "32" ];
};
};
}) // { };
}