fixup! flake.nixConfig: fix flake-registry config settings

This commit is contained in:
Alexander Bantyev
2021-07-01 17:54:22 +03:00
parent ef1e7ab840
commit e756a59c72
4 changed files with 15 additions and 3 deletions
+3 -1
View File
@@ -573,8 +573,10 @@ InstallableFlake::getCursors(EvalState & state)
std::shared_ptr<flake::LockedFlake> InstallableFlake::getLockedFlake() const
{
flake::LockFlags lockFlagsApplyConfig = lockFlags;
lockFlagsApplyConfig.applyNixConfig = true;
if (!_lockedFlake) {
_lockedFlake = std::make_shared<flake::LockedFlake>(lockFlake(*state, flakeRef, lockFlags));
_lockedFlake = std::make_shared<flake::LockedFlake>(lockFlake(*state, flakeRef, lockFlagsApplyConfig));
}
return _lockedFlake;
}