1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

python312Packages.pillow-heif: fix build with clang

This commit is contained in:
Martin Weinelt 2024-02-24 10:42:05 +01:00
parent b79beadd1e
commit c2563bc1ec
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -55,6 +55,9 @@ buildPythonPackage rec {
x265
];
# clang-16: error: argument unused during compilation: '-fno-strict-overflow' [-Werror,-Wunused-command-line-argument]
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-unused-command-line-argument";
propagatedBuildInputs = [
pillow
];