aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-04-22 10:15:32 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-04-22 10:15:32 +0200
commitc7af247beacd418e6f2c4d33dffc35299101cd12 (patch)
tree23414d81ff22957189d68dad5b312f2a9e81d251 /src
parent8c75621da6260d92459e105892751457e1659741 (diff)
Path fetcher: Fix store path name
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
{