aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/tree-info.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libfetchers/tree-info.cc')
-rw-r--r--src/libfetchers/tree-info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libfetchers/tree-info.cc b/src/libfetchers/tree-info.cc
index b2d8cfc8d..432aa6182 100644
--- a/src/libfetchers/tree-info.cc
+++ b/src/libfetchers/tree-info.cc
@@ -8,7 +8,7 @@ namespace nix::fetchers {
StorePath TreeInfo::computeStorePath(Store & store) const
{
assert(narHash);
- return store.makeFixedOutputPath(FileIngestionMethod::Recursive, narHash, "source");
+ return store.makeFixedOutputPath(FileIngestionMethod::Recursive, *narHash, "source");
}
}