about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-10-07 17:22:14 -0700
committerFranck Cuny <franck@fcuny.net>2022-10-07 17:22:14 -0700
commita5af443c99aaf0296326d436f9c5f5c39f38d728 (patch)
tree406f2fe9b3a2cf242270053b8424c7cba1950718
parentref(fcuny/exp): delete containerd-to-vm (diff)
downloadworld-a5af443c99aaf0296326d436f9c5f5c39f38d728.tar.gz
fix(flake): set the correct path for various pre-commit binaries
-rw-r--r--flake.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index bdb3b21..e7fff1b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -90,25 +90,25 @@
 
               check-executables-have-shebangs = {
                 entry =
-                  "${pkgs.python3Packages.pre-commit-hooks}/check-executables-have-shebangs";
+                  "${pkgs.python3Packages.pre-commit-hooks}/bin/check-executables-have-shebangs";
                 types = [ "text" "executable" ];
               };
 
               check-json = {
                 enable = true;
-                entry = "${pkgs.python3Packages.pre-commit-hooks}/check-json";
+                entry = "${pkgs.python3Packages.pre-commit-hooks}/bin/check-json";
                 types = [ "json" ];
               };
 
               check-toml = {
                 enable = true;
-                entry = "${pkgs.python3Packages.pre-commit-hooks}/check-toml";
+                entry = "${pkgs.python3Packages.pre-commit-hooks}/bin/check-toml";
                 types = [ "toml" ];
               };
 
               check-yaml = {
                 enable = true;
-                entry = "${pkgs.python3Packages.pre-commit-hooks}/check-yaml";
+                entry = "${pkgs.python3Packages.pre-commit-hooks}/bin/check-yaml";
                 types = [ "yaml" ];
               };