22 lines
571 B
Nix
22 lines
571 B
Nix
{
|
|
description = "My awesome python project";
|
|
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/release-25.05";
|
|
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = { self, flake-parts, ... }@inputs:
|
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
|
systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
|
|
|
imports = [ ./nix/development.nix ];
|
|
|
|
perSystem = { system, config, pkgs, ... }: {
|
|
formatter = pkgs.nixpkgs-fmt;
|
|
};
|
|
};
|
|
}
|