mirror of
https://github.com/NixOS/nix.git
synced 2025-12-01 06:31:00 +01:00
Give a better error message in case of unlocked inputs
This commit is contained in:
parent
1395210a68
commit
1c7d0b716d
3 changed files with 8 additions and 6 deletions
|
|
@ -60,7 +60,9 @@ struct LockFile
|
|||
|
||||
void write(const Path & path) const;
|
||||
|
||||
bool isLocked() const;
|
||||
/* Check whether this lock file has any unlocked inputs. If so,
|
||||
return one. */
|
||||
std::optional<FlakeRef> isUnlocked() const;
|
||||
|
||||
bool operator ==(const LockFile & other) const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue