dunst: add wrapper to find librsvg (#40050)
This commit is contained in:
parent
5523bd07d4
commit
e3b3eac630
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub
|
{ stdenv, fetchFromGitHub, makeWrapper
|
||||||
, pkgconfig, which, perl, libXrandr
|
, pkgconfig, which, perl, libXrandr
|
||||||
, cairo, dbus, systemd, gdk_pixbuf, glib, libX11, libXScrnSaver
|
, cairo, dbus, systemd, gdk_pixbuf, glib, libX11, libXScrnSaver
|
||||||
, libXinerama, libnotify, libxdg_basedir, pango, xproto, librsvg
|
, libXinerama, libnotify, libxdg_basedir, pango, xproto, librsvg
|
||||||
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1kqlshaflp306yrjjmc28pghi1y5p24vdx4bxf8i4n9khdawb514";
|
sha256 = "1kqlshaflp306yrjjmc28pghi1y5p24vdx4bxf8i4n9khdawb514";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ perl pkgconfig which systemd ];
|
nativeBuildInputs = [ perl pkgconfig which systemd makeWrapper ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cairo dbus gdk_pixbuf glib libX11 libXScrnSaver
|
cairo dbus gdk_pixbuf glib libX11 libXScrnSaver
|
||||||
@ -31,6 +31,11 @@ stdenv.mkDerivation rec {
|
|||||||
"SERVICEDIR_SYSTEMD=$(out)/lib/systemd/user"
|
"SERVICEDIR_SYSTEMD=$(out)/lib/systemd/user"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/dunst \
|
||||||
|
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Lightweight and customizable notification daemon";
|
description = "Lightweight and customizable notification daemon";
|
||||||
homepage = https://dunst-project.org/;
|
homepage = https://dunst-project.org/;
|
||||||
|
Loading…
Reference in New Issue
Block a user