[nix] Use paths to the actual emacs 29 pgtk from the overlay

This commit is contained in:
Sebastian Schulze 2023-11-14 13:27:42 +01:00
parent 5d2bce01b0
commit 5f89fd2ff2
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 2 additions and 2 deletions

View File

@ -519,7 +519,7 @@ in
X-RestartIfChanged = "false";
};
Service = {
ExecStart = "${pkgs.bash}/bin/bash -l -c '~/.nix-profile/bin/emacs --fg-daemon=comacs'";
ExecStart = "${pkgs.bash}/bin/bash -l -c '${pkgs.emacs29-pgtk}/bin/emacs --fg-daemon=comacs'";
Restart = "on-failure";
SuccessExitStatus = 15;
Type = "notify";
@ -536,7 +536,7 @@ in
X-RestartIfChanged = "false";
};
Service = {
ExecStart = "${pkgs.bash}/bin/bash -l -c '~/.nix-profile/bin/emacs --name Worklog --fg-daemon=workmacs'";
ExecStart = "${pkgs.bash}/bin/bash -l -c '${pkgs.emacs29-pgtk}/bin/emacs --name Worklog --fg-daemon=workmacs'";
Restart = "on-failure";
SuccessExitStatus = 15;
Type = "notify";