Problem with transitive dependencies

Hi @Luciano, this is to be expected. In general it is only allowed to import modules from direct dependencies. The error message is a bit misleading, but the important part is that the package ‘daml-ctl-2.0.0’ is “hidden” because it’s not a direct dependency (regardless of it being a transitive dependency). This is true for both regular and data- dependencies, and it’s inherited from GHC.

In this case, I’d suggest simply uncommenting that line, but I’d like to understand your motivation for removing it.

1 Like