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

Improve missing flake.nix error message

This commit is contained in:
Eelco Dolstra 2019-04-19 11:43:56 +02:00
parent 6960ee929d
commit 160ce18a0e
4 changed files with 24 additions and 9 deletions

View file

@ -142,6 +142,12 @@ std::string FlakeRef::to_string() const
return string;
}
std::ostream & operator << (std::ostream & str, const FlakeRef & flakeRef)
{
str << flakeRef.to_string();
return str;
}
bool FlakeRef::isImmutable() const
{
return (bool) rev;