2024-11-23 22:43:29 +00:00
|
|
|
{
|
|
|
|
|
inputs = {
|
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
|
utils.url = "github:numtide/flake-utils";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
outputs = {
|
|
|
|
|
nixpkgs,
|
|
|
|
|
utils,
|
|
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
utils.lib.eachDefaultSystem (system: let
|
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
|
inherit system;
|
|
|
|
|
};
|
|
|
|
|
in {
|
|
|
|
|
devShells.default = pkgs.mkShell {
|
|
|
|
|
nativeBuildInputs = with pkgs; [
|
|
|
|
|
just
|
2024-11-23 23:26:03 +00:00
|
|
|
watchexec
|
2024-11-23 22:43:29 +00:00
|
|
|
zig
|
|
|
|
|
zls
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
}
|