aboutsummaryrefslogtreecommitdiff
path: root/src/feature/syncinstall.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/syncinstall.nim')
-rw-r--r--src/feature/syncinstall.nim5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/feature/syncinstall.nim b/src/feature/syncinstall.nim
index 3b61eea..89fc90c 100644
--- a/src/feature/syncinstall.nim
+++ b/src/feature/syncinstall.nim
@@ -738,7 +738,10 @@ proc handleInstall(args: seq[Argument], config: Config, upgradeCount: int,
clearPaths(initialPaths)
directCode
else:
- let commonArgs = args.keepOnlyOptions(commonOptions, upgradeCommonOptions)
+ let commonArgs = args
+ .keepOnlyOptions(commonOptions, transactionOptions, upgradeOptions)
+ .filter(true, false, %%%"asdeps", %%%"asexplicit", %%%"needed")
+
let (resolveSuccess, satisfied, additionalPacmanTargets, basePackages, dependencyPaths) =
resolveDependencies(config, pkgInfos, additionalPkgInfos, false, directSome, noaur)
let paths = initialPaths & dependencyPaths