mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
dunst: fix building without dunstify
Fixes https://hydra.nixos.org/build/77046987/
This commit is contained in:
parent
1804301446
commit
6df7a8b34c
1 changed files with 2 additions and 2 deletions
|
@ -33,9 +33,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildFlags = if dunstify then [ "dunstify" ] else [];
|
||||
|
||||
postInstall = ''
|
||||
${if dunstify then "install -Dm755 dunstify $out/bin" else ""}
|
||||
postInstall = stdenv.lib.optionalString dunstify ''
|
||||
install -Dm755 dunstify $out/bin
|
||||
'' + ''
|
||||
wrapProgram $out/bin/dunst \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue