3
0
Fork 0
forked from mirrors/nixpkgs

clipit: enable appindicator support

This commit is contained in:
Nick Hu 2020-05-24 16:30:25 +01:00
parent 546eb60a10
commit 65c9bb252d
No known key found for this signature in database
GPG key ID: 9E35DDA3DF631330

View file

@ -1,6 +1,6 @@
{ fetchFromGitHub, fetchpatch, stdenv
, autoreconfHook, intltool, pkgconfig
, gtk3, xdotool, which, wrapGAppsHook }:
, gtk3, libayatana-appindicator, xdotool, which, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "clipit";
@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ pkgconfig wrapGAppsHook autoreconfHook intltool ];
configureFlags = [ "--with-gtk3" ];
buildInputs = [ gtk3 ];
configureFlags = [ "--with-gtk3" "--enable-appindicator=yes" ];
buildInputs = [ gtk3 libayatana-appindicator ];
gappsWrapperArgs = [
"--prefix" "PATH" ":" "${stdenv.lib.makeBinPath [ xdotool which ]}"