mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
Merge pull request #1055 from siriobalmelli/sb/fix/github-runners
nixos/github-runner: fix build failure
This commit is contained in:
commit
7655918380
1 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ in
|
||||||
let
|
let
|
||||||
configure = pkgs.writeShellApplication {
|
configure = pkgs.writeShellApplication {
|
||||||
name = "configure-github-runner-${name}";
|
name = "configure-github-runner-${name}";
|
||||||
text = ''
|
text = /*bash*/''
|
||||||
export RUNNER_ROOT
|
export RUNNER_ROOT
|
||||||
|
|
||||||
args=(
|
args=(
|
||||||
|
@ -98,7 +98,7 @@ in
|
||||||
--disableupdate
|
--disableupdate
|
||||||
--work ${escapeShellArg workDir}
|
--work ${escapeShellArg workDir}
|
||||||
--url ${escapeShellArg cfg.url}
|
--url ${escapeShellArg cfg.url}
|
||||||
--labels ${escapeShellArg (concatStringsSep "," cfg.extraLabels)}
|
--labels "${escapeShellArg (concatStringsSep "," cfg.extraLabels)}"
|
||||||
${optionalString (cfg.name != null ) "--name ${escapeShellArg cfg.name}"}
|
${optionalString (cfg.name != null ) "--name ${escapeShellArg cfg.name}"}
|
||||||
${optionalString cfg.replace "--replace"}
|
${optionalString cfg.replace "--replace"}
|
||||||
${optionalString (cfg.runnerGroup != null) "--runnergroup ${escapeShellArg cfg.runnerGroup}"}
|
${optionalString (cfg.runnerGroup != null) "--runnergroup ${escapeShellArg cfg.runnerGroup}"}
|
||||||
|
|
Loading…
Reference in a new issue