1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 20:01:15 +02:00

resolve redundant priority passing, wrap NixInt in eval-cache variant

This commit is contained in:
Eli Kogan-Wang 2022-05-16 15:17:35 +02:00
parent c81d24f1c7
commit 27d0f6747d
5 changed files with 10 additions and 9 deletions

View file

@ -52,6 +52,7 @@ struct placeholder_t {};
struct missing_t {};
struct misc_t {};
struct failed_t {};
struct int_t { NixInt x; int_t(NixInt x) : x(x) {}; };
typedef uint64_t AttrId;
typedef std::pair<AttrId, Symbol> AttrKey;
typedef std::pair<std::string, NixStringContext> string_t;
@ -64,7 +65,7 @@ typedef std::variant<
misc_t,
failed_t,
bool,
NixInt,
int_t,
std::vector<std::string>
> AttrValue;