mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
Allow access to the result of fetchClosure
This commit is contained in:
parent
324bfd82dc
commit
7308fde0bc
3 changed files with 16 additions and 0 deletions
|
|
@ -64,6 +64,8 @@ static void runFetchClosureWithRewrite(
|
|||
.pos = state.positions[pos]});
|
||||
}
|
||||
|
||||
state.allowClosure(toPath);
|
||||
|
||||
state.mkStorePathString(toPath, v);
|
||||
}
|
||||
|
||||
|
|
@ -91,6 +93,8 @@ static void runFetchClosureWithContentAddressedPath(
|
|||
.pos = state.positions[pos]});
|
||||
}
|
||||
|
||||
state.allowClosure(fromPath);
|
||||
|
||||
state.mkStorePathString(fromPath, v);
|
||||
}
|
||||
|
||||
|
|
@ -115,6 +119,8 @@ static void runFetchClosureWithInputAddressedPath(
|
|||
.pos = state.positions[pos]});
|
||||
}
|
||||
|
||||
state.allowClosure(fromPath);
|
||||
|
||||
state.mkStorePathString(fromPath, v);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue