plasma-workspace: fix path to qdbus

This commit is contained in:
Peter Hoeg 2021-03-23 13:50:25 +08:00
parent 0df63c9543
commit cce199a3e0

View File

@ -53,9 +53,10 @@ mkDerivation {
./0002-absolute-wallpaper-install-dir.patch
];
# QT_INSTALL_BINS refers to qtbase, and qdbus is in qttools
postPatch = ''
substituteInPlace wallpapers/image/wallpaper.knsrc.cmake \
--replace '@QtBinariesDir@/qdbus' ${getBin qttools}/bin/qdbus
substituteInPlace CMakeLists.txt \
--replace 'query_qmake(QtBinariesDir QT_INSTALL_BINS)' 'set(QtBinariesDir "${lib.getBin qttools}/bin")'
'';
NIX_CFLAGS_COMPILE = [