diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-03-09 15:27:49 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-03-09 15:27:49 +0100 |
commit | 5a1514adb8dcec78c03f949868ae35215b9d62f9 (patch) | |
tree | b5faa90fc7ef54f5f38451d5bb24a3aa4c06c826 /src/libexpr/flake/flake.cc | |
parent | 73b6d87e17bbe3c8612af2b9f369d92d3726efbe (diff) |
Add 'flake' attribute to lock files to denote non-flakes
Diffstat (limited to 'src/libexpr/flake/flake.cc')
-rw-r--r-- | src/libexpr/flake/flake.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/flake.cc b/src/libexpr/flake/flake.cc index a30637262..4fa125f1b 100644 --- a/src/libexpr/flake/flake.cc +++ b/src/libexpr/flake/flake.cc @@ -530,7 +530,7 @@ LockedFlake lockFlake( auto [sourceInfo, lockedRef] = fetchOrSubstituteTree( state, input.ref, {}, lockFlags.useRegistries, flakeCache); newLocks.inputs.insert_or_assign(id, - LockedInput(lockedRef, input.ref, sourceInfo.info)); + LockedInput(lockedRef, input.ref, sourceInfo.info, false)); } } } |