Commit b7a8d59e authored by Thibault Gagnaux's avatar Thibault Gagnaux Committed by Silvan Mosberger
Browse files

pyqt6: fix build on darwin

Disable error on -address-of-temporary through linker flag.
parent 7cbcc1fd
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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";