mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #8170 from anderspapitto/dunst-fix
make a wrapper so that dunst can find dbus-launch
This commit is contained in:
commit
baa4d46d21
1 changed files with 10 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
|||
{ stdenv, fetchurl, coreutils , unzip, which, pkgconfig , dbus
|
||||
, freetype, xdg_utils , libXext, glib, pango , cairo, libX11, libnotify
|
||||
, libxdg_basedir , libXScrnSaver, xproto, libXinerama , perl, gdk_pixbuf
|
||||
{ stdenv, fetchurl, coreutils, unzip, which, pkgconfig, dbus
|
||||
, freetype, xdg_utils, libXext, glib, pango, cairo, libX11, libnotify
|
||||
, libxdg_basedir, libXScrnSaver, xproto, libXinerama, perl, gdk_pixbuf
|
||||
, dbus_daemon, makeWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -15,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||
buildInputs =
|
||||
[ coreutils unzip which pkgconfig dbus freetype libnotify gdk_pixbuf
|
||||
xdg_utils libXext glib pango cairo libX11 libxdg_basedir
|
||||
libXScrnSaver xproto libXinerama perl];
|
||||
libXScrnSaver xproto libXinerama perl dbus_daemon makeWrapper ];
|
||||
|
||||
buildPhase = ''
|
||||
export VERSION=${version};
|
||||
|
@ -23,6 +24,11 @@ stdenv.mkDerivation rec {
|
|||
make dunst;
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram "$out/bin/dunst" \
|
||||
--prefix PATH : '${dbus_daemon}/bin'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "lightweight and customizable notification daemon";
|
||||
homepage = http://www.knopwob.org/dunst/;
|
||||
|
|
Loading…
Reference in a new issue