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