diff --git a/Makefile b/Makefile index 47e02cc4..fa1a6f10 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ setup-ci: make generate-sql sync: sync-server sync-web sync-root sync-common - lefthook install || true + bunx lefthook install || true @echo '----------------------------------------------------------------------------------------------------------' @echo '| Most work is done. now running prisma-generate-sql (which might fail if .env.dev is not set configured)|' @echo '----------------------------------------------------------------------------------------------------------' diff --git a/flake.nix b/flake.nix index e9eae472..25c451e5 100644 --- a/flake.nix +++ b/flake.nix @@ -27,13 +27,11 @@ biome pkg-config openssl - lefthook ] ++ [ rust-pkgs ]; shellHook = '' export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${pkgs.stdenv.cc.cc.lib}/lib - lefthook install '' + prisma.shellHook; }; });