Skip to content

Commit

Permalink
dunst: add wrapper to find librsvg (#40050)
Browse files Browse the repository at this point in the history
(cherry picked from commit e3b3eac and
resolved merge conflict)
  • Loading branch information
rycee authored and xeji committed May 16, 2018
1 parent e9ba8d9 commit ee951c3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pkgs/applications/misc/dunst/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchpatch
{ stdenv, fetchFromGitHub, fetchpatch, makeWrapper
, pkgconfig, which, perl, libXrandr
, cairo, dbus, systemd, gdk_pixbuf, glib, libX11, libXScrnSaver
, libXinerama, libnotify, libxdg_basedir, pango, xproto, librsvg
Expand All @@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
sha256 = "0i518v2z9fklzl5w60gkwwmg30yz3bd0k4rxjrxjabx73pvxm1mz";
};

nativeBuildInputs = [ perl pkgconfig which systemd ];
nativeBuildInputs = [ perl pkgconfig which systemd makeWrapper ];

buildInputs = [
cairo dbus gdk_pixbuf glib libX11 libXScrnSaver
Expand All @@ -31,6 +31,11 @@ stdenv.mkDerivation rec {
"SERVICEDIR_SYSTEMD=$(out)/lib/systemd/user"
];

postInstall = ''
wrapProgram $out/bin/dunst \
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
'';

meta = with stdenv.lib; {
description = "Lightweight and customizable notification daemon";
homepage = https://dunst-project.org/;
Expand Down

0 comments on commit ee951c3

Please sign in to comment.