aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-09-11 10:03:32 -0700
committerGitHub <noreply@github.com>2023-09-11 10:03:32 -0700
commitd98337d18f23690adf416f0ae2ff86d9d9015118 (patch)
treeff53e117b12ff3e992546f1f9385d7fe600ea3d0
parent2cdc9c32e746a620458a1dd87655d2a6c3800f64 (diff)
parent07545add53ab39b4560d8e7cec1748423ae1a22e (diff)
Merge pull request #8962 from mkenigs/dead-code
Drop dead code
-rw-r--r--src/libexpr/flake/flake.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libexpr/flake/flake.cc b/src/libexpr/flake/flake.cc
index 6a27ea2e8..90427e064 100644
--- a/src/libexpr/flake/flake.cc
+++ b/src/libexpr/flake/flake.cc
@@ -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