diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-04-22 10:15:32 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-04-22 10:15:32 +0200 |
commit | c7af247beacd418e6f2c4d33dffc35299101cd12 (patch) | |
tree | 23414d81ff22957189d68dad5b312f2a9e81d251 /src/libfetchers/path.cc | |
parent | 8c75621da6260d92459e105892751457e1659741 (diff) |
Path fetcher: Fix store path name
Diffstat (limited to 'src/libfetchers/path.cc')
-rw-r--r-- | src/libfetchers/path.cc | 2 |
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 { |