Merge pull request #8962 from mkenigs/dead-code

Drop dead code
This commit is contained in:
John Ericson 2023-09-11 10:03:32 -07:00 committed by GitHub
commit d98337d18f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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