From 195ed43b60cc2a2a18adc24e272a3d90466c9bc7 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 10 Jun 2020 16:24:05 +0200 Subject: [PATCH] Preserve 'isFlake' when not updating a lock file entry --- src/libexpr/flake/flake.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libexpr/flake/flake.cc b/src/libexpr/flake/flake.cc index f3004557c..4538c03ff 100644 --- a/src/libexpr/flake/flake.cc +++ b/src/libexpr/flake/flake.cc @@ -391,7 +391,8 @@ LockedFlake lockFlake( // of a circular reference back to the root. if (lockedNode) fakeInputs.emplace(i.first, FlakeInput { - .ref = lockedNode->originalRef + .ref = lockedNode->originalRef, + .isFlake = lockedNode->isFlake, }); else { InputPath path(inputPath);