mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Add 'flake' attribute to lock files to denote non-flakes
This commit is contained in:
parent
73b6d87e17
commit
5a1514adb8
3 changed files with 12 additions and 4 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue