uninstall pre-commit-hooks correctly
This commit is contained in:
parent
78136c27a0
commit
8b8dac8939
2 changed files with 2 additions and 1 deletions
|
@ -1 +1 @@
|
||||||
/nix/store/0c3460gjwiqhy7j000ckyrk4ypcnsmlw-pre-commit-config.json
|
/nix/store/kz586m4ykwc1s25dkkmkhj57l2bil858-pre-commit-config.json
|
|
@ -17,6 +17,7 @@
|
||||||
mkPython = version: "python3${toString version}";
|
mkPython = version: "python3${toString version}";
|
||||||
pythonVersions = map mkPython (pkgs.lib.lists.range minVersion maxVersion);
|
pythonVersions = map mkPython (pkgs.lib.lists.range minVersion maxVersion);
|
||||||
mkDevShell = version: pkgs.mkShell {
|
mkDevShell = version: pkgs.mkShell {
|
||||||
|
inherit (pre-commit-hooks.lib."${system}".run { src = ./.; }) shellHook;
|
||||||
buildInputs = [ pkgs.${version} pkgs.poetry ];
|
buildInputs = [ pkgs.${version} pkgs.poetry ];
|
||||||
};
|
};
|
||||||
addPreCommit = shell: shell.overrideAttrs (old: {
|
addPreCommit = shell: shell.overrideAttrs (old: {
|
||||||
|
|
Loading…
Reference in a new issue