mirror of
https://github.com/NixOS/nix
synced 2025-06-27 12:41:15 +02:00
fetchTree: Only use the registry if flakes are enabled
This commit is contained in:
parent
4ce7a53a9c
commit
8eb4f735dc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue