From 354443653f2b22cfeecac25c17dbdd086e3e96d5 Mon Sep 17 00:00:00 2001 From: Artem Sheremet Date: Sun, 12 Jul 2026 13:14:04 +0200 Subject: [PATCH] Comment how to simplify after x86_64-darwin --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index a5389f4..08597f3 100644 --- a/flake.nix +++ b/flake.nix @@ -52,6 +52,9 @@ checks = eachSystem (system: { pre-commit-check = let + # Once x86_64-darwin is removed and we are back to a single nixpkgs + # version, this can be simplified to: + # gitHooksLib = inputs.git-hooks.lib.${system} gitHooksLib = import "${inputs.git-hooks}/nix" { nixpkgs = nixpkgsFor system; inherit system;