about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-08-25T14·11+0200
committerEelco Dolstra <edolstra@gmail.com>2017-08-25T14·11+0200
commitf194629f96d4bdbded897e7e88ac0d03211c959d (patch)
tree8911ecf00dae4838befa8e8616bb088d0c16d690
parentdb1d45037cf923bf470a8581d5546bef8247c756 (diff)
Fix Debian build
https://hydra.nixos.org/build/59390148
-rw-r--r--src/nix/progress-bar.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nix/progress-bar.cc b/src/nix/progress-bar.cc
index 2ad0994508fe..17d7109e7165 100644
--- a/src/nix/progress-bar.cc
+++ b/src/nix/progress-bar.cc
@@ -129,8 +129,10 @@ public:
     {
         auto state(state_.lock());
 
-        state->activities.emplace_back(ActInfo{s, "", type});
+        state->activities.emplace_back(ActInfo());
         auto i = std::prev(state->activities.end());
+        i->s = s;
+        i->type = type;
         state->its.emplace(act, i);
         state->activitiesByType[type].its.emplace(act, i);