forked from lix-project/lix
FlakeRef::to_string(): Drop the "flake:" prefix
This is unnecessary in most contexts and makes 'nix flake list' output less readable.
This commit is contained in:
parent
c179f668e5
commit
b4e367bf4a
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ std::string FlakeRef::to_string() const
|
|||
{
|
||||
std::string string;
|
||||
if (auto refData = std::get_if<FlakeRef::IsAlias>(&data))
|
||||
string = "flake:" + refData->alias;
|
||||
string = refData->alias;
|
||||
|
||||
else if (auto refData = std::get_if<FlakeRef::IsGitHub>(&data)) {
|
||||
assert(!ref || !rev);
|
||||
|
|
Loading…
Reference in a new issue