mirror of
https://github.com/NixOS/nix
synced 2025-06-28 22:01:15 +02:00
Resolve merge conflict
This commit is contained in:
parent
dffcc184d7
commit
0ff190107f
1 changed files with 2 additions and 8 deletions
|
@ -557,15 +557,9 @@ LockedFlake lockFlake(
|
||||||
auto getInputFlake = [&](const FlakeRef & ref)
|
auto getInputFlake = [&](const FlakeRef & ref)
|
||||||
{
|
{
|
||||||
if (auto resolvedPath = resolveRelativePath()) {
|
if (auto resolvedPath = resolveRelativePath()) {
|
||||||
<<<<<<< HEAD
|
return readFlake(state, ref, ref, ref, *resolvedPath, inputPath);
|
||||||
return readFlake(state, *input.ref, *input.ref, *input.ref, *resolvedPath, inputPath);
|
|
||||||
} else {
|
} else {
|
||||||
return getFlake(state, *input.ref, useRegistries, flakeCache, inputPath);
|
return getFlake(state, ref, useRegistries, flakeCache, inputPath);
|
||||||
=======
|
|
||||||
return readFlake(state, ref, ref, ref, *resolvedPath, inputAttrPath);
|
|
||||||
} else {
|
|
||||||
return getFlake(state, ref, useRegistries, flakeCache, inputAttrPath);
|
|
||||||
>>>>>>> 5c552b62f (lockFlake(): When refetching a locked flake, use the locked ref)
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue