From 8428da92f54290c1149827e42a3eeb9bc1bda836 Mon Sep 17 00:00:00 2001 From: fsagbuya Date: Thu, 12 Feb 2026 11:21:46 +0800 Subject: [PATCH] hydra-queue-runner: Allow '+' in product names --- src/hydra-queue-runner/build-result.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hydra-queue-runner/build-result.cc b/src/hydra-queue-runner/build-result.cc index aa98acbb5..70d6ce78c 100644 --- a/src/hydra-queue-runner/build-result.cc +++ b/src/hydra-queue-runner/build-result.cc @@ -93,7 +93,7 @@ BuildOutput getBuildOutput( if (file == narMembers.end()) continue; product.name = product.path == store->printStorePath(output) ? "" : baseNameOf(product.path); - if (!std::regex_match(product.name, std::regex("[a-zA-Z0-9.@:_ -]*"))) + if (!std::regex_match(product.name, std::regex("[a-zA-Z0-9.@:_+ -]*"))) product.name = ""; if (file->second.type == SourceAccessor::Type::tRegular) {