The optional dependeny kwayland was missing, CMake complained about it. It might be helpful once a Wayland Plasma5 session becomes reality. See also: https://github.com/NixOS/nixpkgs/pull/100057
This reverts commit 88dc84c183.
88dc84c183