1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 12:41:15 +02:00

WIP: still need to adapt flakeref parsing

This commit is contained in:
Nick Van den Broeck 2019-05-01 10:34:23 +02:00
parent 4588a6ff3c
commit eba85e2367
3 changed files with 19 additions and 15 deletions

View file

@ -139,6 +139,7 @@ std::string FlakeRef::to_string() const
string += (ref ? "/" + *ref : "") +
(rev ? "/" + rev->to_string(Base16, false) : "");
if (subdir != "") string += "?dir=" + subdir;
return string;
}