aboutsummaryrefslogtreecommitdiff
path: root/src/feature/localquery.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/localquery.nim')
-rw-r--r--src/feature/localquery.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/feature/localquery.nim b/src/feature/localquery.nim
index b07ec98..9dfaa05 100644
--- a/src/feature/localquery.nim
+++ b/src/feature/localquery.nim
@@ -1,6 +1,6 @@
import
algorithm, future, options, sequtils, sets, strutils, tables,
- "../args", "../common", "../config", "../format", "../package", "../pacman", "../utils",
+ "../args", "../config", "../format", "../package", "../pacman", "../utils",
"../wrapper/alpm"
proc handleQueryOrphans*(args: seq[Argument], config: Config): int =
@@ -22,11 +22,11 @@ proc handleQueryOrphans*(args: seq[Argument], config: Config): int =
reference
let depends = toSeq(pkg.depends.items)
- .map(toPackageReference).toSet
+ .map(d => d.toPackageReference).toSet
let optional = toSeq(pkg.optional.items)
- .map(toPackageReference).toSet
+ .map(d => d.toPackageReference).toSet
let provides = toSeq(pkg.provides.items)
- .map(toPackageReference).map(fixProvides).toSet
+ .map(d => d.toPackageReference).map(fixProvides).toSet
installed.add(($pkg.name, pkg.reason == AlpmReason.explicit),
depends + optional)