diff options
author | Robert Helgesson <robert@rycee.net> | 2017-12-06 00:04:34 +0100 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2017-12-07 14:37:08 +0100 |
commit | 79081322ab97b7d9c937c07b24cd0911e2a3a0a9 (patch) | |
tree | 682e36b28b03e9c055653f00248ec2c135fa8ef6 | |
parent | b7c0f858a4bedb6a33303c6c944155c6c211fc2e (diff) | |
download | nixpkgs-79081322ab97b7d9c937c07b24cd0911e2a3a0a9.tar nixpkgs-79081322ab97b7d9c937c07b24cd0911e2a3a0a9.tar.gz nixpkgs-79081322ab97b7d9c937c07b24cd0911e2a3a0a9.tar.bz2 nixpkgs-79081322ab97b7d9c937c07b24cd0911e2a3a0a9.tar.lz nixpkgs-79081322ab97b7d9c937c07b24cd0911e2a3a0a9.tar.xz nixpkgs-79081322ab97b7d9c937c07b24cd0911e2a3a0a9.tar.zst nixpkgs-79081322ab97b7d9c937c07b24cd0911e2a3a0a9.zip |
parcellite: add which and xdotool as dependencies
These allows Parcellite's auto-paste feature to work out of the box.
-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; |