about summary refs log tree commit diff
path: root/src/nix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix.cc')
-rw-r--r--src/nix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix.cc b/src/nix.cc
index 41ed16839725..12a01fd3616e 100644
--- a/src/nix.cc
+++ b/src/nix.cc
@@ -168,7 +168,7 @@ static void opQuery(Strings opFlags, Strings opArgs)
             FSIds roots;
             for (Strings::iterator i = opArgs.begin();
                  i != opArgs.end(); i++)
-                roots.push_back(argToId(*i));
+                roots.push_back(maybeNormalise(argToId(*i), normalise));
 	    printDotGraph(roots);
             break;
         }