diff --git a/src/libflake/flake/flake.cc b/src/libflake/flake/flake.cc index cac39f8ab..873a26d5c 100644 --- a/src/libflake/flake/flake.cc +++ b/src/libflake/flake/flake.cc @@ -362,7 +362,6 @@ Flake getFlake(EvalState & state, const FlakeRef & originalRef, bool useRegistri } static LockFile readLockFile( - const Settings & settings, const fetchers::Settings & fetchSettings, const SourcePath & lockFilePath) { @@ -398,7 +397,6 @@ LockedFlake lockFlake( } auto oldLockFile = readLockFile( - settings, state.fetchSettings, lockFlags.referenceLockFilePath.value_or( flake.lockFilePath())); @@ -696,7 +694,7 @@ LockedFlake lockFlake( inputFlake.inputs, childNode, inputPath, oldLock ? std::dynamic_pointer_cast(oldLock) - : readLockFile(settings, state.fetchSettings, inputFlake.lockFilePath()).root.get_ptr(), + : readLockFile(state.fetchSettings, inputFlake.lockFilePath()).root.get_ptr(), oldLock ? followsPrefix : inputPath, inputFlake.path, false);