mirror of
https://github.com/NixOS/nix
synced 2025-06-28 22:01:15 +02:00
Reapply "Actually ignore system/user registries during locking"
This reverts commit 3b5f0d9fb3
.
This commit is contained in:
parent
7880afcacd
commit
dda265f09a
2 changed files with 8 additions and 1 deletions
|
@ -39,7 +39,7 @@ FlakeRef FlakeRef::resolve(
|
|||
ref<Store> store,
|
||||
const fetchers::RegistryFilter & filter) const
|
||||
{
|
||||
auto [input2, extraAttrs] = lookupInRegistries(store, input);
|
||||
auto [input2, extraAttrs] = lookupInRegistries(store, input, filter);
|
||||
return FlakeRef(std::move(input2), fetchers::maybeGetStrAttr(extraAttrs, "dir").value_or(subdir));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue