dev/flake-module: delegate pre-commit installation to upstream
Fixes: fcf9d5234b ("dev: Add pre-commit-hooks.nix")
This commit is contained in:
parent
250481aafe
commit
2872f976ba
1 changed files with 1 additions and 2 deletions
|
|
@ -22,11 +22,10 @@
|
|||
devShells.default = pkgs.mkShell {
|
||||
nativeBuildInputs = [
|
||||
pkgs.nixpkgs-fmt
|
||||
pkgs.pre-commit
|
||||
pkgs.hci
|
||||
];
|
||||
shellHook = ''
|
||||
${config.pre-commit.installationScript}
|
||||
${config.pre-commit.shellHook}
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue