dev: Add pre-commit-hooks.nix

This commit is contained in:
Robert Hensing 2022-05-17 10:18:59 +02:00
parent 3fe766e50c
commit fcf9d5234b
4 changed files with 68 additions and 10 deletions

View file

@ -5,6 +5,9 @@
# Flakes don't give us a good way to depend on .., so we don't.
# This has drastic consequences of course.
nixpkgs.url = "github:hercules-ci/nixpkgs/functionTo-properly";
pre-commit-hooks-nix.url = "github:hercules-ci/pre-commit-hooks.nix/flakeModule";
pre-commit-hooks-nix.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, ... }: