dunst: Also install dunstify

This commit is contained in:
Janne Heß 2018-06-25 19:45:57 +02:00
parent b97b0300f6
commit 599fe53255
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, makeWrapper
, pkgconfig, which, perl, libXrandr
, cairo, dbus, systemd, gdk_pixbuf, glib, libX11, libXScrnSaver
, libXinerama, libnotify, libxdg_basedir, pango, xproto, librsvg
, libXinerama, libnotify, libxdg_basedir, pango, xproto, librsvg, dunstify ? false
}:
stdenv.mkDerivation rec {
@ -31,7 +31,11 @@ stdenv.mkDerivation rec {
"SERVICEDIR_SYSTEMD=$(out)/lib/systemd/user"
];
buildFlags = if dunstify then [ "dunstify" ] else [];
postInstall = ''
${if dunstify then "install -Dm755 dunstify $out/bin" else ""}
install -Dm755 dunstify $out/bin
wrapProgram $out/bin/dunst \
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
'';