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:
parent
6960ee929d
commit
160ce18a0e
4 changed files with 24 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue