mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 14:02:42 +01: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