1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 21:01:16 +02:00

print env bindings

This commit is contained in:
Ben Burdette 2021-08-24 16:32:54 -06:00
parent 4b5f9b35f0
commit bd3b5329f9
3 changed files with 67 additions and 7 deletions

View file

@ -44,6 +44,7 @@ struct Env
Value * values[0];
};
void printEnvBindings(const Env &env, int lv = 0);
valmap * mapEnvBindings(const Env &env);
Value & mkString(Value & v, std::string_view s, const PathSet & context = PathSet());