Unverified Commit ffd0990a authored by Sefa Eyeoglu's avatar Sefa Eyeoglu
Browse files

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: default avatarSefa Eyeoglu <contact@scrumplex.net>
parent 443707aa
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
{ 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/";