Revert "Remove some designated initializers"
This reverts commit ee9eb83a84.
This commit is contained in:
@@ -1287,7 +1287,7 @@ drvName, Bindings * attrs, Value & v)
|
||||
.method = method,
|
||||
.hash = h,
|
||||
},
|
||||
/* .references = */ {},
|
||||
.references = {},
|
||||
});
|
||||
drv.env["out"] = state.store->printStorePath(outPath);
|
||||
drv.outputs.insert_or_assign("out",
|
||||
@@ -2103,7 +2103,7 @@ static void addPath(
|
||||
.method = method,
|
||||
.hash = *expectedHash,
|
||||
},
|
||||
/* .references = */ {},
|
||||
.references = {},
|
||||
});
|
||||
|
||||
if (!expectedHash || !state.store->isValidPath(*expectedStorePath)) {
|
||||
|
||||
@@ -250,7 +250,7 @@ static void fetch(EvalState & state, const PosIdx pos, Value * * args, Value & v
|
||||
.method = unpack ? FileIngestionMethod::Recursive : FileIngestionMethod::Flat,
|
||||
.hash = *expectedHash,
|
||||
},
|
||||
/* .references = */ {}
|
||||
.references = {}
|
||||
});
|
||||
|
||||
if (state.store->isValidPath(expectedPath)) {
|
||||
|
||||
Reference in New Issue
Block a user