Test that it's possible to lock a project that depends on a pinned
package with depopts.

  $ mkrepo
  $ add_mock_repo_if_needed

  $ mkdir pkg-with-depopts
  $ cat > pkg-with-depopts/pkg-with-depopts.opam <<EOF
  > opam-version: "2.0"
  > depopts: [
  >  "option-a"
  >  "option-b"
  > ]
  > EOF

  $ cat > dune-project <<EOF
  > (lang dune 3.16)
  > (pin
  >  (url "file://$PWD/pkg-with-depopts")
  >  (package
  >   (name pkg-with-depopts)
  >   (version 5.2.0)))
  > (package
  >  (name foo)
  >  (depends pkg-with-depopts))
  > EOF

  $ dune_pkg_lock_normalized
  Solution for dune.lock:
  - pkg-with-depopts.5.2.0
