Monorepo management for opam overlays
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

monopam/root: drop unused pkgs argument from collect_external_deps

Now that scan_dirs is derived from the filesystem, the pkgs list
is unused. Remove it from the signature instead of silencing it
with an underscore prefix.

+2 -2
+2 -2
lib/root.ml
··· 391 391 392 392 (** {1 Dependency collection} *) 393 393 394 - let collect_external_deps ~fs ~monorepo _pkgs = 394 + let collect_external_deps ~fs ~monorepo = 395 395 (* Iterate the actual subtree directories on disk rather than deriving them 396 396 from each package's dev-repo URL via [Package.repo_name]. For a fork, the 397 397 dev-repo: field intentionally points at upstream (so opam-repository ··· 425 425 let pkgs = 426 426 match packages with Some p -> p | None -> packages_from_fs ~fs ~monorepo 427 427 in 428 - let external_deps = collect_external_deps ~fs ~monorepo pkgs in 428 + let external_deps = collect_external_deps ~fs ~monorepo in 429 429 let existing = load_existing ~fs Fpath.(monorepo / "dune-project") in 430 430 let ident = identity ~fs existing in 431 431 {