diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-05-22 17:58:25 +0300 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-05-22 18:27:57 +0300 |
commit | 5954c7a6df0b0aecbdd9c5e02b2e1e7ab25b77f5 (patch) | |
tree | c1da7ba18799f184934ae68aa592fa52cce1c2e9 | |
parent | e42b89ffbac888e3b7125fcc6e6314d8fc84a6c8 (diff) | |
download | nixpkgs-5954c7a6df0b0aecbdd9c5e02b2e1e7ab25b77f5.tar nixpkgs-5954c7a6df0b0aecbdd9c5e02b2e1e7ab25b77f5.tar.gz nixpkgs-5954c7a6df0b0aecbdd9c5e02b2e1e7ab25b77f5.tar.bz2 nixpkgs-5954c7a6df0b0aecbdd9c5e02b2e1e7ab25b77f5.tar.lz nixpkgs-5954c7a6df0b0aecbdd9c5e02b2e1e7ab25b77f5.tar.xz nixpkgs-5954c7a6df0b0aecbdd9c5e02b2e1e7ab25b77f5.tar.zst nixpkgs-5954c7a6df0b0aecbdd9c5e02b2e1e7ab25b77f5.zip |
conan: fix build on aarch64-darwin
-rw-r--r-- | pkgs/development/tools/build-managers/conan/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/tools/build-managers/conan/default.nix b/pkgs/development/tools/build-managers/conan/default.nix index e58ffaefd30..7370aee6f57 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 = [ |