mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +02:00
Also print rooted path in nix-store -q --roots
This commit is contained in:
parent
8574b70342
commit
fc02b1b3ee
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue