File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -546,7 +546,9 @@ let autopin st ?(simulate=false) ?quiet ?locked ?recurse ?subpath
546546 OpamUpdate. dev_packages st ~working_dir: OpamPackage.Set. empty already_pinned
547547 in
548548 let st =
549- if OpamClientConfig. (! r.ignore_pin_depends) then st else
549+ (* NOTE: We skip pin-depends on non-simulated because handle_pin_depends has
550+ already been called in source_pin *)
551+ if not simulate || OpamClientConfig. (! r.ignore_pin_depends) then st else
550552 OpamPackage.Set. fold (fun nv st ->
551553 OpamPinCommand. handle_pin_depends st nv (OpamSwitchState. opam st nv))
552554 (OpamPackage.Set. union pins already_pinned_set) st
Original file line number Diff line number Diff line change @@ -401,10 +401,6 @@ The following additional pinnings are required by local-with-pin-deps.dev:
401401Pin and install them? [Y/n] n
402402Try to install anyway, assuming `--ignore-pin-depends'? [Y/n] y
403403local-with-pin-deps is now pinned to file://${BASEDIR}/local-with-pin-deps (version dev)
404- The following additional pinnings are required by local-with-pin-deps.dev:
405- - pin-dep.dev at file://${BASEDIR}/pin-dep
406- Pin and install them? [Y/n] n
407- Try to install anyway, assuming `--ignore-pin-depends'? [Y/n] y
408404
409405<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
410406Switch invariant: ["ocaml" {>= "4.05.0"}]
You can’t perform that action at this time.
0 commit comments