aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libfetchers/path.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libfetchers/path.cc b/src/libfetchers/path.cc
index 7c7e20f4e..ba2cc192e 100644
--- a/src/libfetchers/path.cc
+++ b/src/libfetchers/path.cc
@@ -72,7 +72,7 @@ struct PathInput : Input
if (!storePath || storePath->name() != "source" || !store->isValidPath(*storePath))
// FIXME: try to substitute storePath.
- storePath = store->addToStore("name", path);
+ storePath = store->addToStore("source", path);
return
{