forked from DGNum/infrastructure
chore(git-hooks): Use a fixed nixfmt that does not depend on upstream
This commit is contained in:
parent
60a5aea5a8
commit
af1e11f01b
1 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue