1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 19:03:16 +02:00

Add MemoryInputAccessor for corepkgs

This commit is contained in:
Eelco Dolstra 2022-02-07 13:14:52 +01:00
parent c56e17b718
commit ffe0dc9a8c
7 changed files with 86 additions and 38 deletions

View file

@ -451,6 +451,7 @@ EvalState::EvalState(
, repair(NoRepair)
, emptyBindings(0)
, rootFS(makeFSInputAccessor(""))
, corepkgsFS(makeMemoryInputAccessor())
, store(store)
, buildStore(buildStore ? buildStore : store)
, regexCache(makeRegexCache())
@ -500,6 +501,11 @@ EvalState::EvalState(
}
createBaseEnv();
corepkgsFS->addFile(
"/fetchurl.nix",
#include "fetchurl.nix.gen.hh"
);
}