bambootracker,bambootracker-qt6: Fix build on Darwin & Qt6 on Linux

This commit is contained in:
OPNA2608 2024-10-19 16:14:26 +02:00
parent 8048221392
commit 75db33ffac

View File

@ -54,6 +54,10 @@ stdenv.mkDerivation (finalAttrs: {
qmakeFlags = [
"CONFIG+=system_rtaudio"
"CONFIG+=system_rtmidi"
] ++ lib.optionals (stdenv.cc.isClang || (lib.versionAtLeast qtbase.version "6.0")) [
# Clang is extra-strict about some deprecations
# Latest Qt6 deprecated QCheckBox::stateChanged(int)
"CONFIG+=no_warnings_are_errors"
];
postConfigure = "make qmake_all";