mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 20:16:03 +01:00
libexpr: Remove vString* Values from EvalState
EvalState is too big and cluttered. These strings can be private constant statics.
This commit is contained in:
parent
377b60ee9b
commit
f4c38278ca
3 changed files with 36 additions and 22 deletions
|
|
@ -284,11 +284,6 @@ EvalState::EvalState(
|
|||
|
||||
static_assert(sizeof(Env) <= 16, "environment must be <= 16 bytes");
|
||||
|
||||
vStringRegular.mkStringNoCopy("regular");
|
||||
vStringDirectory.mkStringNoCopy("directory");
|
||||
vStringSymlink.mkStringNoCopy("symlink");
|
||||
vStringUnknown.mkStringNoCopy("unknown");
|
||||
|
||||
/* Construct the Nix expression search path. */
|
||||
assert(lookupPath.elements.empty());
|
||||
if (!settings.pureEval) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue