diff options
author | Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | 2023-01-11 07:09:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 07:09:37 +0100 |
commit | a3ba80357d3a792eb1690011f253c64840c6ae72 (patch) | |
tree | 4f151ec354a73e44adf0131808fbab314f7fb3a9 /src/libexpr/value.hh | |
parent | f58c30111261a3ad50a6cb462cb2df7c49aa82e4 (diff) | |
parent | 5576d5e987e907bf13ae6c7fe79ececce4e86e2d (diff) |
Merge pull request #7543 from obsidiansystems/typed-string-context
Parse string context elements properly
Diffstat (limited to 'src/libexpr/value.hh')
-rw-r--r-- | src/libexpr/value.hh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libexpr/value.hh b/src/libexpr/value.hh index f57597cff..7d3f6d700 100644 --- a/src/libexpr/value.hh +++ b/src/libexpr/value.hh @@ -3,6 +3,7 @@ #include <cassert> #include "symbol-table.hh" +#include "value/context.hh" #if HAVE_BOEHMGC #include <gc/gc_allocator.h> @@ -67,8 +68,6 @@ class XMLWriter; typedef int64_t NixInt; typedef double NixFloat; -typedef std::pair<StorePath, std::string> NixStringContextElem; -typedef std::vector<NixStringContextElem> NixStringContext; /* External values must descend from ExternalValueBase, so that * type-agnostic nix functions (e.g. showType) can be implemented |