From 9b845e6936929711fe03d23adc1059acdc84a4fd Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <edolstra@gmail.com>
Date: Fri, 25 Aug 2017 20:52:34 +0200
Subject: [PATCH] Doh

---
 src/nix/progress-bar.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/nix/progress-bar.cc b/src/nix/progress-bar.cc
index 90e54ed48..f638c7cfb 100644
--- a/src/nix/progress-bar.cc
+++ b/src/nix/progress-bar.cc
@@ -166,6 +166,7 @@ public:
             auto i = state.its.find(act);
             if (i == state.its.end()) break;
             if (i->second->type == type) return true;
+            act = i->second->parent;
         }
         return false;
     }