diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc index 89831eb3d..11d0d573f 100644 --- a/src/nix-store/nix-store.cc +++ b/src/nix-store/nix-store.cc @@ -431,7 +431,7 @@ static void opQuery(Strings opFlags, Strings opArgs) for (auto & [path, links] : roots) if (referrers.find(path) != referrers.end()) for (auto & link : links) - cout << format("%1%\n") % link; + cout << format("%1% -> %2%\n") % link % path; break; }