diff --git a/flake.nix b/flake.nix index 82a91350..1a287437 100644 --- a/flake.nix +++ b/flake.nix @@ -64,7 +64,7 @@ # Development shell with PostgreSQL, Redis, LSPs, formatters devShells.default = pkgs.callPackage ./nix/shell.nix { - inherit (inputs') pre-commit-hooks; + pre-commit-hooks = inputs.pre-commit-hooks.lib.${system}; }; # Nix formatter for flake files diff --git a/nix/shell.nix b/nix/shell.nix index 073d297d..0622223e 100644 --- a/nix/shell.nix +++ b/nix/shell.nix @@ -159,7 +159,7 @@ let ''; # Pre-commit hooks configuration - pre-commit-check = pre-commit-hooks.lib.run { + pre-commit-check = pre-commit-hooks.run { src = ../.; hooks = { # Elixir formatting