mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 23:02:27 +00:00
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;
|
||||
|
||||
if (evalSettings.pureEval && !input.isLocked())
|
||||
|
Loading…
Reference in New Issue
Block a user