1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-02 13:31:48 +02:00

Merge pull request #12220 from DeterminateSystems/allow-dirty-locks

Add setting 'allow-dirty-locks'
This commit is contained in:
mergify[bot] 2025-01-15 20:18:28 +00:00 committed by GitHub
commit c45dfeeef3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 67 additions and 17 deletions

View file

@ -182,7 +182,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.isLocked()) {
if (state.settings.pureEval && !input.isConsideredLocked(state.fetchSettings)) {
auto fetcher = "fetchTree";
if (params.isFetchGit)
fetcher = "fetchGit";