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,5 +1,5 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, scdoc
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, scdoc
|
||||||
, systemd, pango, cairo, gdk-pixbuf
|
, systemd, pango, cairo, gdk-pixbuf, jq
|
||||||
, wayland, wayland-protocols
|
, wayland, wayland-protocols
|
||||||
, wrapGAppsHook }:
|
, wrapGAppsHook }:
|
||||||
|
|
||||||
|
@ -22,6 +22,12 @@ stdenv.mkDerivation rec {
|
||||||
"-Dsd-bus-provider=libsystemd"
|
"-Dsd-bus-provider=libsystemd"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
gappsWrapperArgs+=(
|
||||||
|
--prefix PATH : "${lib.makeBinPath [ systemd /* for busctl */ jq ]}"
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A lightweight Wayland notification daemon";
|
description = "A lightweight Wayland notification daemon";
|
||||||
homepage = "https://wayland.emersion.fr/mako/";
|
homepage = "https://wayland.emersion.fr/mako/";
|
||||||
|
|
Loading…
Reference in a new issue