initial poc

This commit is contained in:
atagen 2025-10-31 14:37:46 +11:00
commit aae8e63107
7 changed files with 513 additions and 0 deletions

28
flake.nix Normal file
View file

@ -0,0 +1,28 @@
{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
inputs.systems.url = "github:nix-systems/default-linux";
outputs =
{
self,
nixpkgs,
systems,
}:
let
forAllSystems =
func: nixpkgs.lib.genAttrs (import systems) (system: func (import nixpkgs { inherit system; }));
in
{
devShells = forAllSystems (pkgs: {
default = pkgs.mkShell {
packages = with pkgs; [
cargo
rustc
rust-analyzer
rustfmt
clippy
];
};
});
};
}