Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 81686434bfa2
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ce2f8bfda820
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jun 27, 2018

  1. dunst: Also install dunstify

    dasJ committed Jun 27, 2018
    Copy the full SHA
    599fe53 View commit details

Commits on Jul 6, 2018

  1. Merge pull request #42579 from dasJ/dunstify

    dunst: Also install dunstify
    matthewbauer authored Jul 6, 2018
    Copy the full SHA
    ce2f8bf View commit details
Showing with 5 additions and 1 deletion.
  1. +5 −1 pkgs/applications/misc/dunst/default.nix
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 {
@@ -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"
'';