all repos — mycal @ 2dc3eab4b03f9ed9af102e2e7941e0b9ac6eca23

private calendar anonymiser

Revert "remove flake-utils" This reverts commit f5a19a3075a4127ae604a5b2fe286d2d536bedcf.

Alan Pearce
commit

2dc3eab4b03f9ed9af102e2e7941e0b9ac6eca23

parent

59d16b691c84b6261beda83bcc06de02eb9ae2b4

1 file changed, 11 insertions(+), 16 deletions(-)

changed files
M flake.nixflake.nix
@@ -2,6 +2,8 @@ {
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";
@@ -22,22 +24,15 @@ };
}; outputs = - 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: + { self + , nixpkgs + , flake-utils + , uv2nix + , pyproject-nix + , pyproject-build-systems + , ... + }: flake-utils.lib.eachDefaultSystem + (system: let inherit (nixpkgs) lib;