mirror of
https://github.com/NixOS/nix
synced 2025-07-06 09:11:47 +02:00
Fix segfault in headerCallback()
https://hydra.nixos.org/build/168594664
This commit is contained in:
parent
885d709393
commit
6097790863
4 changed files with 7 additions and 7 deletions
|
@ -96,7 +96,7 @@ static void update(const StringSet & channelNames)
|
|||
std::smatch match;
|
||||
auto urlBase = std::string(baseNameOf(url));
|
||||
if (std::regex_search(urlBase, match, std::regex("(-\\d.*)$")))
|
||||
cname = cname + (std::string) match[1];
|
||||
cname = cname + match.str(1);
|
||||
|
||||
std::string extraAttrs;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue