diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..8cce103 --- /dev/null +++ b/flake.nix @@ -0,0 +1,21 @@ +{ + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + }; + outputs = { self, nixpkgs }: + let + supportedSystems = [ "x86_64-linux" "aarch64-linux" ]; + forAllSystems = nixpkgs.lib.genAttrs supportedSystems; + in + { + devShells = forAllSystems (system: { + default = nixpkgs.legacyPackages.${system}.mkShellNoCC { + packages = with nixpkgs.legacyPackages.${system}; [ + ruff + poetry + python + ]; + }; + }); + }; +}