mirror of
https://github.com/NixOS/nix
synced 2025-06-29 23:13:14 +02:00
Backward compatibility hack for dealing with dir
in URL-style flakerefs
This commit is contained in:
parent
1e822bd414
commit
d00682beb2
5 changed files with 117 additions and 1 deletions
|
@ -595,7 +595,7 @@ LockedFlake lockFlake(
|
|||
oldLock = *oldLock3;
|
||||
|
||||
if (oldLock
|
||||
&& oldLock->originalRef == *input.ref
|
||||
&& oldLock->originalRef.canonicalize() == input.ref->canonicalize()
|
||||
&& oldLock->parentInputAttrPath == overridenParentPath
|
||||
&& !hasCliOverride)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue