From af1e11f01b051c2f8b6e1da9ae2f0eaeba516c35 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Mon, 16 Dec 2024 16:38:56 +0100 Subject: [PATCH] chore(git-hooks): Use a fixed nixfmt that does not depend on upstream --- default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default.nix b/default.nix index 5e8434a..85df664 100644 --- a/default.nix +++ b/default.nix @@ -40,6 +40,7 @@ let nixfmt-rfc-style = { enable = true; stages = [ "pre-push" ]; + package = pkgs.nixfmt-rfc-style; }; reuse = nix-reuse.hook { @@ -151,7 +152,6 @@ in src = sources.nixos-generators; })) pkgs.npins - pkgs.reuse # SSO testing pkgs.kanidm @@ -163,7 +163,7 @@ in }) (pkgs.callPackage "${sources.agenix}/pkgs/agenix.nix" { }) (pkgs.callPackage "${sources.lon}/nix/packages/lon.nix" { }) - ] ++ (builtins.attrValues scripts); + ] ++ git-checks.enabledPackages ++ (builtins.attrValues scripts); shellHook = '' ${git-checks.shellHook}