1
0
Fork 0
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:
Eelco Dolstra 2025-05-08 19:01:34 +02:00
parent 1e822bd414
commit d00682beb2
5 changed files with 117 additions and 1 deletions

View file

@ -595,7 +595,7 @@ LockedFlake lockFlake(
oldLock = *oldLock3;
if (oldLock
&& oldLock->originalRef == *input.ref
&& oldLock->originalRef.canonicalize() == input.ref->canonicalize()
&& oldLock->parentInputAttrPath == overridenParentPath
&& !hasCliOverride)
{