aboutsummaryrefslogtreecommitdiff
path: root/src/nix/flake.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/flake.cc')
-rw-r--r--src/nix/flake.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc
index 4b8f1026e..34d67ee58 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -32,7 +32,7 @@ struct CmdFlakeList : StoreCommand, MixEvalArgs
for (auto & registry : registries)
for (auto & entry : registry->entries)
- std::cout << entry.first.to_string() << " " << entry.second.to_string() << "\n";
+ std::cout << entry.first << " " << entry.second << "\n";
}
};
@@ -48,7 +48,7 @@ void printFlakeInfo(Flake & flake, bool json) {
std::cout << j.dump(4) << std::endl;
} else {
std::cout << "ID: " << flake.id << "\n";
- std::cout << "URI: " << flake.sourceInfo.flakeRef.to_string() << "\n";
+ std::cout << "URI: " << flake.sourceInfo.flakeRef << "\n";
std::cout << "Description: " << flake.description << "\n";
if (flake.sourceInfo.rev)
std::cout << "Revision: " << flake.sourceInfo.rev->to_string(Base16, false) << "\n";