Merge pull request #42579 from dasJ/dunstify

dunst: Also install dunstify

authored by

Matthew Bauer and committed by
GitHub
ce2f8bfd 81686434

+5 -1
+5 -1
pkgs/applications/misc/dunst/default.nix
··· 1 1 { stdenv, fetchFromGitHub, makeWrapper 2 2 , pkgconfig, which, perl, libXrandr 3 3 , cairo, dbus, systemd, gdk_pixbuf, glib, libX11, libXScrnSaver 4 - , libXinerama, libnotify, libxdg_basedir, pango, xproto, librsvg 4 + , libXinerama, libnotify, libxdg_basedir, pango, xproto, librsvg, dunstify ? false 5 5 }: 6 6 7 7 stdenv.mkDerivation rec { ··· 31 31 "SERVICEDIR_SYSTEMD=$(out)/lib/systemd/user" 32 32 ]; 33 33 34 + buildFlags = if dunstify then [ "dunstify" ] else []; 35 + 34 36 postInstall = '' 37 + ${if dunstify then "install -Dm755 dunstify $out/bin" else ""} 38 + install -Dm755 dunstify $out/bin 35 39 wrapProgram $out/bin/dunst \ 36 40 --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" 37 41 '';