remove flake-utils
1 file changed, 16 insertions(+), 11 deletions(-)
changed files
M flake.nix → flake.nix
@@ -2,8 +2,6 @@ { inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - flake-utils.url = "github:numtide/flake-utils"; - pyproject-nix = { url = "github:pyproject-nix/pyproject.nix"; inputs.nixpkgs.follows = "nixpkgs";@@ -24,15 +22,22 @@ }; }; outputs = - { self - , nixpkgs - , flake-utils - , uv2nix - , pyproject-nix - , pyproject-build-systems - , ... - }: flake-utils.lib.eachDefaultSystem - (system: + inputs: + with inputs; + let + # System types to support. + supportedSystems = [ + "x86_64-linux" + "x86_64-darwin" + "aarch64-linux" + "aarch64-darwin" + ]; + + # Helper function to generate an attrset '{ x86_64-linux = f "x86_64-linux"; ... }'. + forAllSystems = nixpkgs.lib.genAttrs supportedSystems; + in + forAllSystems ( + system: let inherit (nixpkgs) lib;