mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
Drop dead code
localPath is unused
This commit is contained in:
parent
2cdc9c32e7
commit
07545add53
@ -520,11 +520,6 @@ LockedFlake lockFlake(
|
||||
}
|
||||
}
|
||||
|
||||
auto localPath(parentPath);
|
||||
// If this input is a path, recurse it down.
|
||||
// This allows us to resolve path inputs relative to the current flake.
|
||||
if ((*input.ref).input.getType() == "path")
|
||||
localPath = absPath(*input.ref->input.getSourcePath(), parentPath);
|
||||
computeLocks(
|
||||
mustRefetch
|
||||
? getFlake(state, oldLock->lockedRef, false, flakeCache, inputPath).inputs
|
||||
|
Loading…
Reference in New Issue
Block a user