aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/misc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/misc.cc')
-rw-r--r--src/libstore/misc.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstore/misc.cc b/src/libstore/misc.cc
index ad4dccef9..052936a8b 100644
--- a/src/libstore/misc.cc
+++ b/src/libstore/misc.cc
@@ -62,8 +62,7 @@ void Store::computeFSClosure(const StorePathSet & startPaths,
} else {
for (auto & ref : info->references)
- if (ref != path)
- enqueue(printStorePath(ref));
+ enqueue(printStorePath(ref));
if (includeOutputs && path.isDerivation())
for (auto & i : queryDerivationOutputs(path))