26 lines
536 B
Nix
26 lines
536 B
Nix
|
{
|
||
|
description = "Simple dart flake";
|
||
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||
|
|
||
|
outputs = {
|
||
|
flake-utils,
|
||
|
nixpkgs,
|
||
|
...
|
||
|
}:
|
||
|
flake-utils.lib.eachDefaultSystem (system: let
|
||
|
pkgs = import nixpkgs {
|
||
|
inherit system;
|
||
|
};
|
||
|
in {
|
||
|
devShell = pkgs.mkShell {
|
||
|
buildInputs = with pkgs; [
|
||
|
dart
|
||
|
];
|
||
|
# shellHook = ''
|
||
|
# export FLUTTER_ROOT
|
||
|
# '';
|
||
|
};
|
||
|
});
|
||
|
}
|