Merge pull request #234864 from reckenrode/poetry-clang-fix

python3Packages.poetry-core: fix build with newer clang
This commit is contained in:
Weijia Wang 2023-05-30 09:44:57 +03:00 committed by GitHub
commit b3fb622c58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,6 +73,8 @@ buildPythonPackage rec {
"poetry"
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-int-conversion";
meta = with lib; {
changelog = "https://github.com/python-poetry/poetry-core/blob/${src.rev}/CHANGELOG.md";
description = "Core utilities for Poetry";