birdtray: fix cmake 4 compatibility (#449895)

This commit is contained in:
Fernando Rodrigues
2025-10-08 13:29:39 +00:00
committed by GitHub
@@ -31,6 +31,12 @@ mkDerivation rec {
qtx11extras
];
cmakeFlags = [
# CMake 4 dropped support of versions lower than 3.5,
# versions lower than 3.10 are deprecated.
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
];
# Wayland support is broken.
# https://github.com/gyunaev/birdtray/issues/113#issuecomment-621742315
qtWrapperArgs = [ "--set QT_QPA_PLATFORM xcb" ];