about summary refs log tree commit diff
path: root/pkgs/tools/misc/pre-commit
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2022-11-02 23:33:16 +0300
committerK900 <me@0upti.me>2022-11-02 23:33:16 +0300
commitd869913e9c3e6b596dfc7b69d7bfdab32339512c (patch)
tree5cc5bbb1ae4dbf61680f2b74219211abd8fc467a /pkgs/tools/misc/pre-commit
parent9616bc4dc55bf42bbbecaf72b93ee2aa8e71578e (diff)
pre-commit: skip tests broken with Git 2.38.1
Diffstat (limited to 'pkgs/tools/misc/pre-commit')
-rw-r--r--pkgs/tools/misc/pre-commit/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/tools/misc/pre-commit/default.nix b/pkgs/tools/misc/pre-commit/default.nix
index 2e11679f45182..06efbbfff4490 100644
--- a/pkgs/tools/misc/pre-commit/default.nix
+++ b/pkgs/tools/misc/pre-commit/default.nix
@@ -146,6 +146,17 @@ buildPythonPackage rec {
     # Expects `git commit` to fail when `pre-commit` is not in the `$PATH`,
     # but we use an absolute path so it's not an issue.
     "test_environment_not_sourced"
+
+    # broken with Git 2.38.1, upstream issue filed at https://github.com/pre-commit/pre-commit/issues/2579
+    "test_golang_with_recursive_submodule"
+    "test_install_in_submodule_and_run"
+    "test_is_in_merge_conflict_submodule"
+    "test_get_conflicted_files_in_submodule"
+    "test_sub_nothing_unstaged"
+    "test_sub_something_unstaged"
+    "test_sub_staged"
+    "test_submodule_does_not_discard_changes"
+    "test_submodule_does_not_discard_changes_recurse"
   ];
 
   pythonImportsCheck = [