mirror of
https://github.com/NixOS/nix.git
synced 2025-12-13 12:31:04 +01:00
Remove isConsideredLocked()
This commit is contained in:
parent
4113fdf2f0
commit
9e240ecced
4 changed files with 14 additions and 19 deletions
|
|
@ -155,12 +155,6 @@ bool Input::isLocked() const
|
|||
return scheme && scheme->isLocked(*this);
|
||||
}
|
||||
|
||||
bool Input::isConsideredLocked(
|
||||
const Settings & settings) const
|
||||
{
|
||||
return isLocked() || (settings.allowDirtyLocks && getNarHash());
|
||||
}
|
||||
|
||||
bool Input::isFinal() const
|
||||
{
|
||||
return maybeGetBoolAttr(attrs, "__final").value_or(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue