mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +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
|
||||
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";
|
||||
|
|
Loading…
Reference in a new issue