mako: include systemd user service

This commit is contained in:
r-vdp 2024-09-09 23:58:59 +02:00
parent efa31d00d0
commit d1ad5dd375
No known key found for this signature in database

View File

@ -44,6 +44,13 @@ stdenv.mkDerivation (finalAttrs: {
)
'';
postInstall = ''
mkdir -p $out/lib/systemd/user
substitute $src/contrib/systemd/mako.service $out/lib/systemd/user/mako.service \
--replace-fail '/usr/bin' "$out/bin"
chmod 0644 $out/lib/systemd/user/mako.service
'';
meta = {
description = "Lightweight Wayland notification daemon";
homepage = "https://wayland.emersion.fr/mako/";