Skip to content

Commit

Permalink
Merge pull request #42579 from dasJ/dunstify
Browse files Browse the repository at this point in the history
dunst: Also install dunstify
  • Loading branch information
matthewbauer authored Jul 6, 2018
2 parents 8168643 + 599fe53 commit ce2f8bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/applications/misc/dunst/default.nix
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -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"
'';
Expand Down

0 comments on commit ce2f8bf

Please sign in to comment.