summaryrefslogtreecommitdiff
path: root/parts/checks.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-05-05 11:35:18 -0400
committerGitHub <[email protected]>2024-05-05 11:35:18 -0400
commit34a7a042a36b63eb6b900932b1e420e4b6014a57 (patch)
tree40dace9b4bb7b6e99c5d54165d8eb203963f5306 /parts/checks.nix
parent9380483bdf038149fc308698e9f115b1474a0c85 (diff)
simplify some things (#353)
* flake: drop flake-parts * flake: add back flake-parts * flake: use flake module again for configurations
Diffstat (limited to 'parts/checks.nix')
-rw-r--r--parts/checks.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/parts/checks.nix b/parts/checks.nix
new file mode 100644
index 0000000..5ccc308
--- /dev/null
+++ b/parts/checks.nix
@@ -0,0 +1,21 @@
+{inputs, ...}: {
+ perSystem = {
+ lib,
+ pkgs,
+ ...
+ }: {
+ checks = {
+ inherit
+ (inputs.flake-checks.lib.mkChecks {
+ root = ../.;
+ inherit pkgs;
+ })
+ actionlint
+ alejandra
+ deadnix
+ editorconfig
+ statix
+ ;
+ };
+ };
+}