diff --git a/pkgs/desktops/plasma-5/plasma-workspace/default.nix b/pkgs/desktops/plasma-5/plasma-workspace/default.nix index 2c4287f8edf7..8df146068cf2 100644 --- a/pkgs/desktops/plasma-5/plasma-workspace/default.nix +++ b/pkgs/desktops/plasma-5/plasma-workspace/default.nix @@ -48,6 +48,11 @@ mkDerivation { ./0002-absolute-wallpaper-install-dir.patch ]; + postPatch = '' + substituteInPlace wallpapers/image/wallpaper.knsrc.cmake \ + --replace '@QtBinariesDir@/qdbus' ${getBin qttools}/bin/qdbus + ''; + NIX_CFLAGS_COMPILE = [ ''-DNIXPKGS_XMESSAGE="${getBin xmessage}/bin/xmessage"'' ''-DNIXPKGS_XRDB="${getBin xrdb}/bin/xrdb"''