parcellite: add which and xdotool as dependencies

These allows Parcellite's auto-paste feature to work out of the box.

+7 -1
+7 -1
pkgs/tools/misc/parcellite/default.nix
··· 1 1 { stdenv, fetchFromGitHub, autoreconfHook 2 - , gtk2, hicolor_icon_theme, intltool, pkgconfig, wrapGAppsHook }: 2 + , gtk2, hicolor_icon_theme, intltool, pkgconfig 3 + , which, wrapGAppsHook, xdotool }: 3 4 4 5 stdenv.mkDerivation rec { 5 6 name = "parcellite-${version}"; ··· 14 15 15 16 nativeBuildInputs = [ autoreconfHook intltool pkgconfig wrapGAppsHook ]; 16 17 buildInputs = [ gtk2 hicolor_icon_theme ]; 18 + 19 + preFixup = '' 20 + # Need which and xdotool on path to fix auto-pasting. 21 + gappsWrapperArgs+=(--prefix PATH : "${which}/bin:${xdotool}/bin") 22 + ''; 17 23 18 24 meta = with stdenv.lib; { 19 25 description = "Lightweight GTK+ clipboard manager";