dunst: allow user configuration (fixes #5222)
This commit eliminates a patch which hard-coded an example configuration file as the program's default settings and prevented the program from reading a user's configuration file.
This commit is contained in:
parent
e93c528a01
commit
37fb8fb9ca
@ -12,11 +12,6 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0x95f57s0a96c4lifxdpf73v706iggwmdw8742mabbjnxq55l1qs";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace "settings.c" \
|
||||
--replace "xdgConfigOpen(\"dunst/dunstrc\", \"r\", &xdg" "fopen(\"$out/share/dunst/dunstrc\", \"r\""
|
||||
'';
|
||||
|
||||
buildInputs =
|
||||
[ coreutils unzip which pkgconfig dbus freetype libnotify gdk_pixbuf
|
||||
xdg_utils libXext glib pango cairo libX11 libxdg_basedir
|
||||
|
Loading…
Reference in New Issue
Block a user