Merge pull request #4801 from matthewbauer/fix-tokenize-output-names

Fix tokenize output names in DerivedPath
This commit is contained in:
Eelco Dolstra 2021-05-13 13:06:29 +02:00 committed by GitHub
commit 89a4ede92b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ DerivedPath::Built DerivedPath::Built::parse(const Store & store, std::string_vi
auto outputsS = s.substr(n + 1);
std::set<string> outputs;
if (outputsS != "*")
outputs = tokenizeString<std::set<string>>(outputsS);
outputs = tokenizeString<std::set<string>>(outputsS, ",");
return {drvPath, outputs};
}