spectacle: fix qdbus path in desktop shortcut

This commit is contained in:
nyanloutre 2019-05-28 21:46:47 +02:00
parent eccb90a2d9
commit bb57a1056e
No known key found for this signature in database
GPG Key ID: 194A92D1103ACB2A

View File

@ -4,7 +4,7 @@
ki18n, xcb-util-cursor, ki18n, xcb-util-cursor,
kconfig, kcoreaddons, kdbusaddons, kdeclarative, kio, kipi-plugins, kconfig, kcoreaddons, kdbusaddons, kdeclarative, kio, kipi-plugins,
knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi, knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi,
qtx11extras, knewstuff qtx11extras, knewstuff, qttools
}: }:
mkDerivation { mkDerivation {
@ -16,5 +16,9 @@ mkDerivation {
kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi qtx11extras xcb-util-cursor kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi qtx11extras xcb-util-cursor
knewstuff knewstuff
]; ];
postPatch = ''
substituteInPlace desktop/org.kde.spectacle.desktop \
--replace "Exec=qdbus" "Exec=${lib.getBin qttools}/bin/qdbus"
'';
propagatedUserEnvPkgs = [ kipi-plugins libkipi ]; propagatedUserEnvPkgs = [ kipi-plugins libkipi ];
} }