mako: add jq and systemd to PATH of makoctl
This closes NixOS/nixpkgs#217756 makoctl needs jq and busctl for some commands, so we need to inject those into PATH for that script. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
443707aac6
commit
ffd0990ad1
1 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, scdoc
|
||||
, systemd, pango, cairo, gdk-pixbuf
|
||||
, systemd, pango, cairo, gdk-pixbuf, jq
|
||||
, wayland, wayland-protocols
|
||||
, wrapGAppsHook }:
|
||||
|
||||
|
@ -22,6 +22,12 @@ stdenv.mkDerivation rec {
|
|||
"-Dsd-bus-provider=libsystemd"
|
||||
];
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--prefix PATH : "${lib.makeBinPath [ systemd /* for busctl */ jq ]}"
|
||||
)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A lightweight Wayland notification daemon";
|
||||
homepage = "https://wayland.emersion.fr/mako/";
|
||||
|
|
Loading…
Reference in a new issue