summaryrefslogtreecommitdiff
path: root/modules/services/github-runner
diff options
context:
space:
mode:
authorMichael Hoang <Enzime@users.noreply.github.com>2024-09-06 23:21:49 +1000
committerGitHub <noreply@github.com>2024-09-06 23:21:49 +1000
commit76559183801030451e200c90a1627c1d82bb4910 (patch)
tree2e24d03d053fc961588b185fb09220a3e6fc6f3e /modules/services/github-runner
parenta55b3f1ab41bb6d5025ebeebb4da5fd240b9b3b3 (diff)
parentc334175319949f6887dcab89afb32f1bb38e9f88 (diff)
Merge pull request #1055 from siriobalmelli/sb/fix/github-runners
nixos/github-runner: fix build failure
Diffstat (limited to 'modules/services/github-runner')
-rw-r--r--modules/services/github-runner/service.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/services/github-runner/service.nix b/modules/services/github-runner/service.nix
index 75d6442..175b22d 100644
--- a/modules/services/github-runner/service.nix
+++ b/modules/services/github-runner/service.nix
@@ -90,7 +90,7 @@ in
let
configure = pkgs.writeShellApplication {
name = "configure-github-runner-${name}";
- text = ''
+ text = /*bash*/''
export RUNNER_ROOT
args=(
@@ -98,7 +98,7 @@ in
--disableupdate
--work ${escapeShellArg workDir}
--url ${escapeShellArg cfg.url}
- --labels ${escapeShellArg (concatStringsSep "," cfg.extraLabels)}
+ --labels "${escapeShellArg (concatStringsSep "," cfg.extraLabels)}"
${optionalString (cfg.name != null ) "--name ${escapeShellArg cfg.name}"}
${optionalString cfg.replace "--replace"}
${optionalString (cfg.runnerGroup != null) "--runnergroup ${escapeShellArg cfg.runnerGroup}"}