Merge pull request #269894 from tricktron/f-fix-pyqt6-on-darwin

pyqt6: fix build on darwin
This commit is contained in:
Silvan Mosberger 2023-11-25 16:56:36 +01:00 committed by GitHub
commit 94ef0a58a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,7 +133,10 @@ buildPythonPackage rec {
;
# fix build with qt 6.6
env.NIX_CFLAGS_COMPILE = "-fpermissive";
env.NIX_CFLAGS_COMPILE = toString ([
"-fpermissive"
]
++ lib.optional (stdenv.isDarwin) "-Wno-address-of-temporary");
meta = with lib; {
description = "Python bindings for Qt6";