about summary refs log tree commit diff
path: root/src/dotgraph.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotgraph.cc')
-rw-r--r--src/dotgraph.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dotgraph.cc b/src/dotgraph.cc
index 514fda325914..36daf7f9966d 100644
--- a/src/dotgraph.cc
+++ b/src/dotgraph.cc
@@ -1,4 +1,5 @@
 #include "dotgraph.hh"
+#include "normalise.hh"
 
 
 static string dotQuote(const string & s)
@@ -98,8 +99,8 @@ void printDotGraph(const PathSet & roots)
 
 	if (doneSet.find(nePath) == doneSet.end()) {
 	    doneSet.insert(nePath);
-                    
-	    NixExpr ne = parseNixExpr(termFromPath(nePath));
+
+	    NixExpr ne = exprFromPath(nePath);
 
 	    string label, colour;