mirror of
https://github.com/NixOS/nix
synced 2025-06-29 19:03:16 +02:00
Checkpoint
This commit is contained in:
parent
00b0fb27c1
commit
06c1edf889
18 changed files with 134 additions and 120 deletions
|
@ -30,7 +30,7 @@ void emitTreeAttrs(
|
|||
attrs.alloc(state.sOutPath).mkString(storePath, {storePath});
|
||||
#endif
|
||||
|
||||
attrs.alloc(state.sOutPath).mkPath(state.packPath(path));
|
||||
attrs.alloc(state.sOutPath).mkPath(path);
|
||||
|
||||
// FIXME: support arbitrary input attributes.
|
||||
|
||||
|
@ -138,8 +138,8 @@ static void fetchTree(
|
|||
for (auto elem : attr.value->listItems()) {
|
||||
// FIXME: use realisePath
|
||||
PathSet context;
|
||||
auto patchFile = state.unpackPath(state.coerceToPath(pos, *elem, context));
|
||||
patches.push_back(patchFile.accessor->readFile(patchFile.path));
|
||||
auto patchFile = state.coerceToPath(pos, *elem, context);
|
||||
patches.push_back(patchFile.readFile());
|
||||
}
|
||||
|
||||
continue;
|
||||
|
@ -201,7 +201,7 @@ static void fetchTree(
|
|||
|
||||
emitTreeAttrs(
|
||||
state,
|
||||
{accessor, "/"},
|
||||
{state.registerAccessor(accessor), "/"},
|
||||
input2,
|
||||
v,
|
||||
params.emptyRevFallback,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue