From a5af443c99aaf0296326d436f9c5f5c39f38d728 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 7 Oct 2022 17:22:14 -0700 Subject: fix(flake): set the correct path for various pre-commit binaries --- flake.nix | 8 ++++---- 1 file 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" ]; }; -- cgit 1.4.1