This commit is contained in:
Eelco Dolstra 2019-05-31 23:21:53 +02:00
parent 8cb3bbd504
commit 15f241775a
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -315,7 +315,7 @@ std::vector<std::shared_ptr<Installable>> SourceExprCommand::parseInstallables(
}
else if (auto flakeRef = parseFlakeRef(s, true))
result.push_back(std::make_shared<InstallableFlake>(*this, s,
result.push_back(std::make_shared<InstallableFlake>(*this, std::move(*flakeRef),
getDefaultFlakeAttrPaths()));
else if ((colon = s.rfind(':')) != std::string::npos) {