mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
Remove isConsideredLocked()
This commit is contained in:
parent
4113fdf2f0
commit
9e240ecced
4 changed files with 14 additions and 19 deletions
|
@ -183,7 +183,7 @@ static void fetchTree(
|
|||
if (!state.settings.pureEval && !input.isDirect() && experimentalFeatureSettings.isEnabled(Xp::Flakes))
|
||||
input = lookupInRegistries(state.store, input).first;
|
||||
|
||||
if (state.settings.pureEval && !input.isConsideredLocked(state.fetchSettings)) {
|
||||
if (state.settings.pureEval && !input.isLocked()) {
|
||||
if (input.getNarHash())
|
||||
warn(
|
||||
"Input '%s' is unlocked (e.g. lacks a Git revision) but does have a NAR hash. "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue