snix/third_party/nix/src/libexpr
Vincent Ambo 56614c75e4 refactor(3p/nix/libexpr): Store nix::Env values in a std::vector
This has several advantages:

* we can ensure that the vector is traced by the GC
* we don't need to unsafely allocate memory to make an Env

Note that there was previously a check about the size of the
environment, but it's unclear why this was the case (git history
yielded nothing interesting) and it seems to have no effect.

Change-Id: I4998b879a728a6fb68e1bd187c521e2304e5047e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1265
Tested-by: BuildkiteCI
Reviewed-by: isomer <isomer@tvl.fyi>
Reviewed-by: Kane York <rikingcoding@gmail.com>
Reviewed-by: glittershark <grfn@gws.fyi>
2020-07-18 18:08:42 +00:00
..
primops refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
attr-path.cc refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
attr-path.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
attr-set.cc refactor(3p/nix/libexpr): Use range insertion to merge nix::Bindings 2020-07-16 18:51:47 +00:00
attr-set.hh refactor(3p/nix/libexpr): Use range insertion to merge nix::Bindings 2020-07-16 18:51:47 +00:00
CMakeLists.txt refactor(3p/nix/libexpr): Extract static helpers out of parser.y 2020-07-16 19:53:51 +00:00
common-eval-args.cc feat(3p/nix): Statically pass bindings capacity where possible 2020-07-13 23:50:24 +00:00
common-eval-args.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
eval-inline.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
eval.cc refactor(3p/nix/libexpr): Store nix::Env values in a std::vector 2020-07-18 18:08:42 +00:00
eval.hh refactor(3p/nix/libexpr): Store nix::Env values in a std::vector 2020-07-18 18:08:42 +00:00
function-trace.cc refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
function-trace.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
get-drvs.cc style(3p/nix): Minor style fix in DrvInfo::setMeta 2020-07-16 00:37:29 +00:00
get-drvs.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
json-to-value.cc refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
json-to-value.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
lexer.l refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
names.cc refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
names.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nix-expr.pc.in feat(3p/nix): install pkgconfig files for libexpr, libmain and libstore 2020-06-21 20:42:28 +00:00
nixexpr.cc refactor(3p/nix/libexpr): Remove the nix::Symbol default constructor 2020-07-13 21:06:43 +00:00
nixexpr.hh feat(3p/nix): Add function to allocate a Value in traceable memory 2020-07-17 20:04:14 +00:00
parser.cc refactor(3p/nix/libexpr): Move EvalState:* implementations out of parser.y 2020-07-16 19:53:51 +00:00
parser.hh refactor(3p/nix/libexpr): Move EvalState:* implementations out of parser.y 2020-07-16 19:53:51 +00:00
parser.y refactor(3p/nix/libexpr): Move EvalState:* implementations out of parser.y 2020-07-16 19:53:51 +00:00
primops.cc chore(3p/nix): Remove builtins.exec 2020-07-17 19:03:59 +00:00
primops.hh chore(3p/nix): Remove builtins.exec 2020-07-17 19:03:59 +00:00
symbol-table.cc refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
symbol-table.hh refactor(3p/nix/libexpr): Use Abseil collection types for parser state 2020-07-16 21:03:52 +00:00
value-to-json.cc refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
value-to-json.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
value-to-xml.cc refactor(3p/nix/libexpr): Remove the nix::Symbol default constructor 2020-07-13 21:06:43 +00:00
value-to-xml.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
value.hh feat(3p/nix): Add function to allocate a Value in traceable memory 2020-07-17 20:04:14 +00:00