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) {