28 lines
591 B
Nix
28 lines
591 B
Nix
{
|
|
description = "An example project using flutter";
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
inputs.zlsPkg.url = "path:./nix/zls";
|
|
outputs = {
|
|
flake-utils,
|
|
nixpkgs,
|
|
zlsPkg,
|
|
...
|
|
}:
|
|
flake-utils.lib.eachDefaultSystem (system: let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
zls = zlsPkg.defaultPackage.${system};
|
|
in {
|
|
devShell = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
lldb
|
|
sqlite
|
|
zig
|
|
zls
|
|
];
|
|
};
|
|
});
|
|
}
|