diff --git a/pkgs/tools/misc/pre-commit/default.nix b/pkgs/tools/misc/pre-commit/default.nix index 593ff2c68bd0..f51fcf254f98 100644 --- a/pkgs/tools/misc/pre-commit/default.nix +++ b/pkgs/tools/misc/pre-commit/default.nix @@ -159,6 +159,9 @@ buildPythonPackage rec { "test_sub_staged" "test_submodule_does_not_discard_changes" "test_submodule_does_not_discard_changes_recurse" + ] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [ + # requires gcc bump + "test_rust_hook" ]; pythonImportsCheck = [