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 15:27:06 +0200
commit2ea4d45449ea676e27cc678145ef39af7ac05ca8 (patch)
treefec65847bb6b3040b9234ed5794d86d12d9d4c8e /src
parent4a2a45f53d16040f744580747d0963f97ec51164 (diff)
Path fetcher: Fix store path name
(cherry picked from commit c7af247beacd418e6f2c4d33dffc35299101cd12)
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
{