Path fetcher: Fix store path name

(cherry picked from commit c7af247bea)
This commit is contained in:
Eelco Dolstra 2020-04-22 10:15:32 +02:00
parent 4a2a45f53d
commit 2ea4d45449
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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
{