aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/kde/spectacle.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/kde/spectacle.nix')
-rw-r--r--nixpkgs/pkgs/applications/kde/spectacle.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/applications/kde/spectacle.nix b/nixpkgs/pkgs/applications/kde/spectacle.nix
index 2d46b3cdaab..b980ea21df2 100644
--- a/nixpkgs/pkgs/applications/kde/spectacle.nix
+++ b/nixpkgs/pkgs/applications/kde/spectacle.nix
@@ -17,8 +17,8 @@ mkDerivation {
knewstuff kwayland
];
postPatch = ''
- substituteInPlace desktop/org.kde.spectacle.desktop \
- --replace "Exec=qdbus" "Exec=${lib.getBin qttools}/bin/qdbus"
+ substituteInPlace desktop/org.kde.spectacle.desktop.cmake \
+ --replace "Exec=@QtBinariesDir@/qdbus" "Exec=${lib.getBin qttools}/bin/qdbus"
'';
propagatedUserEnvPkgs = [ kipi-plugins libkipi ];
}