From de07dcda05e314e826cd084bdd53f187984d6c42 Mon Sep 17 00:00:00 2001 From: Keith Bauson Date: Thu, 26 Jan 2023 15:19:09 -0500 Subject: [PATCH] oh whoops --- .../services/continuous-integration/github-runner/service.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/continuous-integration/github-runner/service.nix b/nixos/modules/services/continuous-integration/github-runner/service.nix index db9a19815ec1b..636c2aa7ca0ea 100644 --- a/nixos/modules/services/continuous-integration/github-runner/service.nix +++ b/nixos/modules/services/continuous-integration/github-runner/service.nix @@ -134,7 +134,7 @@ in --work "$WORK_DIRECTORY" --url ${escapeShellArg cfg.url} --labels ${escapeShellArg (concatStringsSep "," cfg.extraLabels)} - --name ${escapeShellArg cfg.name} + ${optionalString (cfg.name != null) "--name ${escapeShellArg cfg.name}${cfg.rawNameSuffix}"} ${optionalString cfg.replace "--replace"} ${optionalString (cfg.runnerGroup != null) "--runnergroup ${escapeShellArg cfg.runnerGroup}"} ${optionalString cfg.ephemeral "--ephemeral"}