fix: add coreutils to wynne-deploy PATH
systemd services have an empty PATH by default, so basic commands (rm, cp, chmod) were not found.
This commit is contained in:
parent
69f4bacb4b
commit
95f10812c2
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ in
|
||||||
|
|
||||||
systemd.services.wynne-deploy = {
|
systemd.services.wynne-deploy = {
|
||||||
description = "Build wynne.rs from source";
|
description = "Build wynne.rs from source";
|
||||||
path = [ pkgs.nodejs pkgs.pnpm ];
|
path = with pkgs; [ coreutils nodejs pnpm ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
ExecStart = deployScript;
|
ExecStart = deployScript;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue