mirror of
https://github.com/NixOS/nix.git
synced 2025-11-22 10:19:36 +01:00
Merge remote-tracking branch 'upstream/master' into path-info
This commit is contained in:
commit
1b6cf0d5f5
36 changed files with 289 additions and 224 deletions
|
|
@ -266,14 +266,14 @@ public:
|
|||
return status;
|
||||
}
|
||||
|
||||
void buildPaths(const std::vector<BuildableReq> & drvPaths, BuildMode buildMode) override
|
||||
void buildPaths(const std::vector<DerivedPath> & drvPaths, BuildMode buildMode) override
|
||||
{
|
||||
auto conn(connections->get());
|
||||
|
||||
conn->to << cmdBuildPaths;
|
||||
Strings ss;
|
||||
for (auto & p : drvPaths) {
|
||||
auto sOrDrvPath = StorePathWithOutputs::tryFromBuildableReq(p);
|
||||
auto sOrDrvPath = StorePathWithOutputs::tryFromDerivedPath(p);
|
||||
std::visit(overloaded {
|
||||
[&](StorePathWithOutputs s) {
|
||||
ss.push_back(s.to_string(*this));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue