dunst: fix building without dunstify
Fixes https://hydra.nixos.org/build/77046987/
This commit is contained in:
parent
1804301446
commit
6df7a8b34c
@ -33,9 +33,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildFlags = if dunstify then [ "dunstify" ] else [];
|
buildFlags = if dunstify then [ "dunstify" ] else [];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = stdenv.lib.optionalString dunstify ''
|
||||||
${if dunstify then "install -Dm755 dunstify $out/bin" else ""}
|
|
||||||
install -Dm755 dunstify $out/bin
|
install -Dm755 dunstify $out/bin
|
||||||
|
'' + ''
|
||||||
wrapProgram $out/bin/dunst \
|
wrapProgram $out/bin/dunst \
|
||||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
|
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user