mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
Tunnel progress messages from the daemon to the client
This makes the progress bar work for non-root users.
This commit is contained in:
parent
e681b1f064
commit
fe34b91289
4 changed files with 124 additions and 30 deletions
|
@ -47,7 +47,7 @@ public:
|
|||
struct Field
|
||||
{
|
||||
// FIXME: use std::variant.
|
||||
enum { tInt, tString } type;
|
||||
enum { tInt = 0, tString = 1 } type;
|
||||
uint64_t i = 0;
|
||||
std::string s;
|
||||
Field(const std::string & s) : type(tString), s(s) { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue