16 lines
475 B
Nix
16 lines
475 B
Nix
{
|
|
description = "Simple python flake";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
outputs = inputs@{ flake-parts, ... }:
|
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
|
systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];
|
|
perSystem = { config, self', inputs', pkgs, system, ... }: {
|
|
devShells.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [ python3 poetry ];
|
|
};
|
|
};
|
|
};
|
|
}
|