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:
parent
4588a6ff3c
commit
eba85e2367
3 changed files with 19 additions and 15 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue