chore(git-hooks): Use a fixed nixfmt that does not depend on upstream
All checks were successful
Build all the nodes / ap01 (push) Successful in 55s
Build all the nodes / bridge01 (push) Successful in 1m36s
Build all the nodes / netcore02 (push) Successful in 42s
Build all the nodes / compute01 (push) Successful in 2m9s
Build all the nodes / geo02 (push) Successful in 1m55s
Build all the nodes / geo01 (push) Successful in 2m7s
Build all the nodes / rescue01 (push) Successful in 2m21s
Build all the nodes / vault01 (push) Successful in 2m2s
Build all the nodes / storage01 (push) Successful in 2m21s
Run pre-commit on all files / pre-commit (push) Successful in 43s
Build all the nodes / web02 (push) Successful in 2m0s
Build all the nodes / web03 (push) Successful in 1m53s
Build all the nodes / web01 (push) Successful in 2m28s

This commit is contained in:
Tom Hubrecht 2024-12-16 16:38:56 +01:00
parent 60a5aea5a8
commit af1e11f01b
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc

View file

@ -40,6 +40,7 @@ let
nixfmt-rfc-style = { nixfmt-rfc-style = {
enable = true; enable = true;
stages = [ "pre-push" ]; stages = [ "pre-push" ];
package = pkgs.nixfmt-rfc-style;
}; };
reuse = nix-reuse.hook { reuse = nix-reuse.hook {
@ -151,7 +152,6 @@ in
src = sources.nixos-generators; src = sources.nixos-generators;
})) }))
pkgs.npins pkgs.npins
pkgs.reuse
# SSO testing # SSO testing
pkgs.kanidm pkgs.kanidm
@ -163,7 +163,7 @@ in
}) })
(pkgs.callPackage "${sources.agenix}/pkgs/agenix.nix" { }) (pkgs.callPackage "${sources.agenix}/pkgs/agenix.nix" { })
(pkgs.callPackage "${sources.lon}/nix/packages/lon.nix" { }) (pkgs.callPackage "${sources.lon}/nix/packages/lon.nix" { })
] ++ (builtins.attrValues scripts); ] ++ git-checks.enabledPackages ++ (builtins.attrValues scripts);
shellHook = '' shellHook = ''
${git-checks.shellHook} ${git-checks.shellHook}