diff options
-rw-r--r-- | pkgs/tools/misc/parcellite/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/tools/misc/parcellite/default.nix b/pkgs/tools/misc/parcellite/default.nix index 93064c6dc8e..cb55226109b 100644 --- a/pkgs/tools/misc/parcellite/default.nix +++ b/pkgs/tools/misc/parcellite/default.nix @@ -1,5 +1,6 @@ { stdenv, fetchFromGitHub, autoreconfHook -, gtk2, hicolor_icon_theme, intltool, pkgconfig, wrapGAppsHook }: +, gtk2, hicolor_icon_theme, intltool, pkgconfig +, which, wrapGAppsHook, xdotool }: stdenv.mkDerivation rec { name = "parcellite-${version}"; @@ -15,6 +16,11 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook intltool pkgconfig wrapGAppsHook ]; buildInputs = [ gtk2 hicolor_icon_theme ]; + preFixup = '' + # Need which and xdotool on path to fix auto-pasting. + gappsWrapperArgs+=(--prefix PATH : "${which}/bin:${xdotool}/bin") + ''; + meta = with stdenv.lib; { description = "Lightweight GTK+ clipboard manager"; homepage = https://github.com/rickyrockrat/parcellite; |