mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
int2String() -> std::to_string()
This commit is contained in:
parent
71039becd1
commit
5c28943e8f
9 changed files with 17 additions and 24 deletions
|
@ -79,7 +79,7 @@ void processExpr(EvalState & state, const Strings & attrPaths,
|
|||
printGCWarning();
|
||||
else {
|
||||
Path rootName = gcRoot;
|
||||
if (++rootNr > 1) rootName += "-" + int2String(rootNr);
|
||||
if (++rootNr > 1) rootName += "-" + std::to_string(rootNr);
|
||||
drvPath = addPermRoot(*store, drvPath, rootName, indirectRoot);
|
||||
}
|
||||
std::cout << format("%1%%2%\n") % drvPath % (outputName != "out" ? "!" + outputName : "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue