mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-23 17:12:27 +00:00
mako: route D-Bus activation through mako.service (#541390)
This commit is contained in:
@@ -70,6 +70,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
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
|
||||
|
||||
# Route D-Bus activation through the unit installed above, so it
|
||||
# waits for graphical-session.target instead of exec'ing mako
|
||||
# before the compositor is up.
|
||||
echo "SystemdService=mako.service" \
|
||||
>> $out/share/dbus-1/services/fr.emersion.mako.service
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user