Preserve 'isFlake' when not updating a lock file entry
This commit is contained in:
parent
2226e97ec2
commit
195ed43b60
|
@ -391,7 +391,8 @@ LockedFlake lockFlake(
|
||||||
// of a circular reference back to the root.
|
// of a circular reference back to the root.
|
||||||
if (lockedNode)
|
if (lockedNode)
|
||||||
fakeInputs.emplace(i.first, FlakeInput {
|
fakeInputs.emplace(i.first, FlakeInput {
|
||||||
.ref = lockedNode->originalRef
|
.ref = lockedNode->originalRef,
|
||||||
|
.isFlake = lockedNode->isFlake,
|
||||||
});
|
});
|
||||||
else {
|
else {
|
||||||
InputPath path(inputPath);
|
InputPath path(inputPath);
|
||||||
|
|
Loading…
Reference in a new issue