mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
pyqt6: fix build on darwin
Disable error on -address-of-temporary through linker flag.
This commit is contained in:
parent
7cbcc1fdd4
commit
b7a8d59e3a
@ -133,7 +133,10 @@ buildPythonPackage rec {
|
|||||||
;
|
;
|
||||||
|
|
||||||
# fix build with qt 6.6
|
# 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; {
|
meta = with lib; {
|
||||||
description = "Python bindings for Qt6";
|
description = "Python bindings for Qt6";
|
||||||
|
Loading…
Reference in New Issue
Block a user