diff --git a/src/root/build-deps.tt b/src/root/build-deps.tt
index 5aa4bd1e..157b113e 100644
--- a/src/root/build-deps.tt
+++ b/src/root/build-deps.tt
@@ -1,5 +1,7 @@
[% PROCESS deps.tt %]
+[% global.nodeId = 10000 %]
+
[% INCLUDE renderNode node=buildTimeGraph %]
diff --git a/src/root/deps.tt b/src/root/deps.tt
index b265ff02..3ad4c05c 100644
--- a/src/root/deps.tt
+++ b/src/root/deps.tt
@@ -1,7 +1,5 @@
[% PROCESS common.tt %]
-[% global.nodeId = 1 %]
-
[% BLOCK renderNode %]
-
[% IF done.${node.path} %]
diff --git a/src/root/runtime-deps.tt b/src/root/runtime-deps.tt
index db22b47f..e6acbb56 100644
--- a/src/root/runtime-deps.tt
+++ b/src/root/runtime-deps.tt
@@ -1,7 +1,9 @@
[% PROCESS deps.tt %]
+[% global.nodeId = 1 %]
+
[% FOREACH node IN runtimeGraph; INCLUDE renderNode; END %]
-
\ No newline at end of file
+