nixos/gitea-actions-runner: set the $HOME
environment variable
This fixes an issue where running the official `actions/checkout` action from GitHub on a runner with label `:host`, would fail with incredibly unhelpful error messages. Turns out, this is due to `$HOME` not being set.
This commit is contained in:
parent
45e438f5eb
commit
2cd2419baf
1 changed files with 2 additions and 0 deletions
|
@ -203,6 +203,8 @@ in
|
|||
TOKEN = "${instance.token}";
|
||||
} // optionalAttrs (wantsPodman) {
|
||||
DOCKER_HOST = "unix:///run/podman/podman.sock";
|
||||
} // {
|
||||
HOME = "/var/lib/gitea-runner/${name}";
|
||||
};
|
||||
path = with pkgs; [
|
||||
coreutils
|
||||
|
|
Loading…
Reference in a new issue