From 5954c7a6df0b0aecbdd9c5e02b2e1e7ab25b77f5 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Mon, 22 May 2023 17:58:25 +0300 Subject: conan: fix build on aarch64-darwin --- pkgs/development/tools/build-managers/conan/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'pkgs') diff --git a/pkgs/development/tools/build-managers/conan/default.nix b/pkgs/development/tools/build-managers/conan/default.nix index e58ffaefd3057..7370aee6f575a 100644 --- a/pkgs/development/tools/build-managers/conan/default.nix +++ b/pkgs/development/tools/build-managers/conan/default.nix @@ -53,6 +53,8 @@ python3.pkgs.buildPythonApplication rec { webtest ]); + __darwinAllowLocalNetworking = true; + pythonImportsCheck = [ "conan" ]; @@ -65,6 +67,17 @@ python3.pkgs.buildPythonApplication rec { disabledTests = [ # Tests require network access "TestFTP" + ] ++ lib.optionals stdenv.isDarwin [ + # Rejects paths containing nix + "test_conditional_os" + # Requires Apple Clang + "test_detect_default_compilers" + "test_detect_default_in_mac_os_using_gcc_as_default" + # Incompatible with darwin.xattr and xcbuild from nixpkgs + "test_dot_files" + "test_xcrun" + "test_xcrun_in_required_by_tool_requires" + "test_xcrun_in_tool_requires" ]; disabledTestPaths = [ -- cgit 1.4.1