From cb88681631e57de52828dfccc8e9092801b70f62 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Fri, 10 Feb 2023 09:52:40 +0100 Subject: [PATCH] pre-commit: fix build on aarch64-linux --- pkgs/tools/misc/pre-commit/default.nix | 3 +++ 1 file changed, 3 insertions(+) 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 = [