mirror of
https://github.com/NixOS/nix.git
synced 2025-11-12 05:26:02 +01:00
Fix assertion failure in FlakeRef::to_string()
This commit is contained in:
parent
6e4210d8ce
commit
46cb15df9b
4 changed files with 5 additions and 3 deletions
|
|
@ -237,8 +237,8 @@ static FlakeSourceInfo fetchFlake(EvalState & state, const FlakeRef flakeRef, bo
|
|||
info.storePath = gitInfo.storePath;
|
||||
info.rev = Hash(gitInfo.rev, htSHA1);
|
||||
info.revCount = gitInfo.revCount;
|
||||
info.flakeRef.ref = gitInfo.ref;
|
||||
info.flakeRef.rev = info.rev;
|
||||
// FIXME: ensure info.flakeRef.ref is set.
|
||||
return info;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue