Unverified Commit 57077bc4 authored by r-vdp's avatar r-vdp
Browse files

waybar: include the systemd user unit

parent a3158d80
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -166,13 +166,15 @@ stdenv.mkDerivation (finalAttrs: {
      "pulseaudio" = pulseSupport;
      "rfkill" = rfkillSupport;
      "sndio" = sndioSupport;
      "systemd" = false;
      "systemd" = true;
      "tests" = runTests;
      "upower_glib" = upowerSupport;
      "wireplumber" = wireplumberSupport;
    })
    ++ lib.optional experimentalPatches (lib.mesonBool "experimental" true);

  PKG_CONFIG_SYSTEMD_SYSTEMDUSERUNITDIR = "${placeholder "out"}/lib/systemd/user";

  postPatch = ''
    substituteInPlace include/util/command.hpp \
      --replace-fail /bin/sh ${lib.getExe' bash "sh"}