parcellite: add which and xdotool as dependencies
These allows Parcellite's auto-paste feature to work out of the box.
This commit is contained in:
parent
b7c0f858a4
commit
79081322ab
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user