mirror of
https://github.com/NixOS/nix.git
synced 2025-11-30 14:10:59 +01:00
Use corepkgsFS for derivation.nix
This commit is contained in:
parent
a18b3c665a
commit
78232889c0
5 changed files with 25 additions and 23 deletions
|
|
@ -77,9 +77,11 @@ ref<FSInputAccessor> makeFSInputAccessor(
|
|||
std::optional<std::set<CanonPath>> && allowedPaths = {},
|
||||
MakeNotAllowedError && makeNotAllowedError = {});
|
||||
|
||||
struct SourcePath;
|
||||
|
||||
struct MemoryInputAccessor : InputAccessor
|
||||
{
|
||||
virtual void addFile(CanonPath path, std::string && contents) = 0;
|
||||
virtual SourcePath addFile(CanonPath path, std::string && contents) = 0;
|
||||
};
|
||||
|
||||
ref<MemoryInputAccessor> makeMemoryInputAccessor();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue