dotfiles/templates/python/flake.nix

16 lines
475 B
Nix
Raw Normal View History

2023-11-03 14:14:39 +01:00
{
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 ];
};
};
};
}