1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-30 07:33:16 +02:00

Use corepkgsFS for derivation.nix

This commit is contained in:
Eelco Dolstra 2022-07-07 14:29:58 +02:00
parent a18b3c665a
commit 78232889c0
5 changed files with 25 additions and 23 deletions

View file

@ -91,8 +91,6 @@ public:
SymbolTable symbols;
PosTable positions;
static inline std::string derivationNixPath = "//builtin/derivation.nix";
const Symbol sWith, sOutPath, sDrvPath, sType, sMeta, sName, sValue,
sSystem, sOverrides, sOutputs, sOutputName, sIgnoreNulls,
sFile, sLine, sColumn, sFunctor, sToString,
@ -103,7 +101,6 @@ public:
sDescription, sSelf, sEpsilon, sStartSet, sOperator, sKey, sPath,
sPrefix,
sOutputSpecified;
Symbol sDerivationNix;
/* If set, force copying files to the Nix store even if they
already exist there. */
@ -111,8 +108,10 @@ public:
Bindings emptyBindings;
ref<FSInputAccessor> rootFS;
ref<MemoryInputAccessor> corepkgsFS;
const ref<FSInputAccessor> rootFS;
const ref<MemoryInputAccessor> corepkgsFS;
const SourcePath derivationInternal;
std::unordered_map<InputAccessor *, ref<InputAccessor>> inputAccessors;