forked from lix-project/lix
fetchTree: Only use the registry if flakes are enabled
This commit is contained in:
parent
4ce7a53a9c
commit
8eb4f735dc
|
@ -152,7 +152,7 @@ static void fetchTree(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!evalSettings.pureEval && !input.isDirect())
|
if (!evalSettings.pureEval && !input.isDirect() && experimentalFeatureSettings.isEnabled(Xp::Flakes))
|
||||||
input = lookupInRegistries(state.store, input).first;
|
input = lookupInRegistries(state.store, input).first;
|
||||||
|
|
||||||
if (evalSettings.pureEval && !input.isLocked())
|
if (evalSettings.pureEval && !input.isLocked())
|
||||||
|
|
Loading…
Reference in a new issue