From e0d6b9169e22238f382fb29eb937c21f018b9530 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Sat, 20 Apr 2024 15:48:20 -0400 Subject: [PATCH] sanitize strings for hydra url Signed-off-by: ahuston-0 --- hydra/jobsets.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydra/jobsets.nix b/hydra/jobsets.nix index b50777a..081b290 100644 --- a/hydra/jobsets.nix +++ b/hydra/jobsets.nix @@ -56,7 +56,7 @@ let null else { - name = "branch-${name}"; + name = (builtins.replaceStrings [ "/" ] [ "-" ] "branch-${name}"); value = makeJob { description = "Branch ${name}"; flake = "git+ssh://git@github.com/${repo}?ref=${ref}";