build: find waylandscanner and qtwaylandscanner from imported target

Removes the QTWAYLANDSCANNER env hack.
This commit is contained in:
outfoxxed 2024-10-16 00:00:13 -07:00
parent 23f59ec4c3
commit 89d04f34a5
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
3 changed files with 35 additions and 22 deletions

View file

@ -65,8 +65,6 @@
++ lib.optional withPam pam
++ lib.optional withPipewire pipewire;
QTWAYLANDSCANNER = lib.optionalString withWayland "${qt6.qtwayland}/libexec/qtwaylandscanner";
cmakeBuildType = if debug then "Debug" else "RelWithDebInfo";
cmakeFlags = [