python311Packages.pyqt6: fix build with qt 6.6 by setting -fpermissive

This commit is contained in:
Nick Cao 2023-10-10 23:43:58 -04:00
parent 4bb402ac96
commit 48e8528413
No known key found for this signature in database

View file

@ -132,6 +132,9 @@ buildPythonPackage rec {
++ lib.optional withLocation "PyQt6.QtPositioning"
;
# fix build with qt 6.6
env.NIX_CFLAGS_COMPILE = "-fpermissive";
meta = with lib; {
description = "Python bindings for Qt6";
homepage = "https://riverbankcomputing.com/";