diff --git a/python/flake.nix b/python/flake.nix new file mode 100644 index 0000000..fa0b613 --- /dev/null +++ b/python/flake.nix @@ -0,0 +1,19 @@ +{ + description = "Flake template for a python project"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, flake-utils, ... }: + flake-utils.lib.eachDefaultSystem (system: + let + pkgs = import nixpkgs { inherit system; }; + in with pkgs; { + devShells.default = mkShell { + buildInputs = [ python310 ]; + packages = [ ]; + }; + }); +}