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
+4 -1
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";