aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorMatthew Kenigsberg <matthew@floxdev.com>2023-09-10 12:18:03 +0200
committerMatthew Kenigsberg <matthew@floxdev.com>2023-09-10 12:18:03 +0200
commit07545add53ab39b4560d8e7cec1748423ae1a22e (patch)
treeff53e117b12ff3e992546f1f9385d7fe600ea3d0 /src/libexpr
parent2cdc9c32e746a620458a1dd87655d2a6c3800f64 (diff)
Drop dead code
localPath is unused
Diffstat (limited to 'src/libexpr')
-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