From db33597286f6e47a6936e6888b78ea14252c511a Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sat, 20 May 2023 12:08:15 -0400 Subject: [PATCH] python3Packages.poetry-core: fix build with newer clang Silence an integer conversion warning that newer clangs issue, causing the build to fail. --- pkgs/development/python-modules/poetry-core/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/poetry-core/default.nix b/pkgs/development/python-modules/poetry-core/default.nix index 9e7e7bd978ff..daf45528202f 100644 --- a/pkgs/development/python-modules/poetry-core/default.nix +++ b/pkgs/development/python-modules/poetry-core/default.nix @@ -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";