How can I expose the hidden `daml-ctl` package of `contingent-claims` when using the precompiled dar?

Thanks, tried and doesn’t seem to work. I think I’m doing something wrong.

Again: I only have the contingent-claims dar in my lib folder (more precisely, this time, unlike in the original question, contingent-claims-test, which contains the modules of the original contingent-claims library and also examples).

With this in the daml.yaml

sdk-version: 2.1.0
name: sandbox
source: daml
init-script: Main:setup
version: 0.0.1
dependencies:
  - daml-prim
  - daml-stdlib
  - daml-script
data-dependencies:
  - ../lib/contingent-claims-test-2.0.0.dar
build-options:
  - --package=daml-ctl-2.0.0

the daml build succeeds, but I get the following error:

image

Maybe @cocreature can help, based on his answer in the thread Problem with transitive dependencies - #2 by akrmn