diff options
Diffstat (limited to 'src/dotgraph.cc')
-rw-r--r-- | src/dotgraph.cc | 5 |
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; |